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:
parent
5edaa01e8e
commit
ee97bdfb5d
@ -35,5 +35,5 @@ def test_protected_route():
|
|||||||
assert response.status_code == 200
|
assert response.status_code == 200
|
||||||
assert response.json() == {
|
assert response.json() == {
|
||||||
"username": "testuser",
|
"username": "testuser",
|
||||||
"pgroups": ["20000", "20001", "20002", "20003"],
|
"pgroups": ["p20000", "p20001", "p20002", "p20003"],
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user