Okidi Norbert commited on
Commit ·
d768ce7
1
Parent(s): 6f3e82a
fix: change staff link endpoint to avoid routing conflicts
Browse files- app/api/admin.py +1 -1
app/api/admin.py
CHANGED
|
@@ -445,7 +445,7 @@ async def get_staff(
|
|
| 445 |
|
| 446 |
|
| 447 |
|
| 448 |
-
@router.post("/staff
|
| 449 |
async def link_staff_member(
|
| 450 |
link_data: dict, # email, role
|
| 451 |
current_user: dict = Depends(require_organization_admin),
|
|
|
|
| 445 |
|
| 446 |
|
| 447 |
|
| 448 |
+
@router.post("/staff-link")
|
| 449 |
async def link_staff_member(
|
| 450 |
link_data: dict, # email, role
|
| 451 |
current_user: dict = Depends(require_organization_admin),
|