From f7c697ade53f17bb1465d76aea1e49d56eee5b3a Mon Sep 17 00:00:00 2001 From: Sam Splunks <72095718+samsplunks@users.noreply.github.com> Date: Tue, 9 Jul 2024 14:04:28 +0000 Subject: [PATCH 1/2] delete_query view is expecting a pk field --- helpdesk/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk/urls.py b/helpdesk/urls.py index a374bce2..48eab200 100644 --- a/helpdesk/urls.py +++ b/helpdesk/urls.py @@ -119,7 +119,7 @@ urlpatterns = [ re_path(r"^reports/(?P\w+)/$", staff.run_report, name="run_report"), path("save_query/", staff.save_query, name="savequery"), - path("delete_query//", staff.delete_saved_query, name="delete_query"), + path("delete_query//", staff.delete_saved_query, name="delete_query"), path("settings/", staff.EditUserSettingsView.as_view(), name="user_settings"), path("ignore/", staff.email_ignore, name="email_ignore"), path("ignore/add/", staff.email_ignore_add, name="email_ignore_add"), From 2d3e7eac13f75aaece0b30777130152ff788b890 Mon Sep 17 00:00:00 2001 From: Benbb96 Date: Thu, 18 Jul 2024 00:06:41 +0200 Subject: [PATCH 2/2] fix(ci): rust check --- .github/workflows/pythonpackage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 45ae1727..09fd02ca 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -31,7 +31,7 @@ jobs: - name: Lint with ruff run: | pip install ruff - ruff helpdesk + ruff check helpdesk - name: Test with pytest run: |