From ee97bdfb5d531cbf005dbf9fe1882f7286655d58 Mon Sep 17 00:00:00 2001 From: GotthardG <51994228+GotthardG@users.noreply.github.com> Date: Thu, 30 Jan 2025 13:44:44 +0100 Subject: [PATCH] Refactor Dewar service methods and improve field handling Updated Dewar API methods to use protected endpoints for enhanced security and consistency. Added `pgroups` handling in various frontend components and modified the LogisticsView contact field for clarity. Simplified backend router imports for better readability. --- backend/tests/test_auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/tests/test_auth.py b/backend/tests/test_auth.py index 5a559fe..fb79b81 100644 --- a/backend/tests/test_auth.py +++ b/backend/tests/test_auth.py @@ -35,5 +35,5 @@ def test_protected_route(): assert response.status_code == 200 assert response.json() == { "username": "testuser", - "pgroups": ["20000", "20001", "20002", "20003"], + "pgroups": ["p20000", "p20001", "p20002", "p20003"], }