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.
This commit is contained in:
GotthardG 2025-01-30 13:44:44 +01:00
parent 5edaa01e8e
commit ee97bdfb5d

View File

@ -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"],
}