From e3edc1ec3c03475ed1b4cc02727f064ef14ad870 Mon Sep 17 00:00:00 2001
From: George Katsikas <giorgakis.katsikas@gmail.com>
Date: Thu, 4 Jul 2024 12:15:55 +0300
Subject: [PATCH] fix url warning of trailing slash in finances

---
 scipost_django/finances/urls.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scipost_django/finances/urls.py b/scipost_django/finances/urls.py
index d3e1446c7..82cb88071 100644
--- a/scipost_django/finances/urls.py
+++ b/scipost_django/finances/urls.py
@@ -66,7 +66,7 @@ urlpatterns = [
                                             name="_hx_subsidypayment_form",
                                         ),
                                         path(
-                                            "<int:subsidypayment_id>",
+                                            "<int:subsidypayment_id>/",
                                             include(
                                                 [
                                                     path(
@@ -75,7 +75,7 @@ urlpatterns = [
                                                         name="_hx_subsidypayment_form",
                                                     ),
                                                     path(
-                                                        "/delete",
+                                                        "delete",
                                                         views._hx_subsidypayment_delete,
                                                         name="_hx_subsidypayment_delete",
                                                     ),
-- 
GitLab