Skip to content

Commit e1fdca5

Browse files
authored
Update admin_service.py (#121)
This is an update for the new Pocketbase v0.23+ API; the admin login route has moved to /api/admins/auth-with-password (and other routes are similar)
1 parent dd1a52f commit e1fdca5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pocketbase/services/admin_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def decode(self, data: dict[str, Any]) -> Admin:
2727
return Admin(data)
2828

2929
def base_crud_path(self) -> str:
30-
return "/api/collections/_superusers"
30+
return "/api/admins"
3131

3232
def update(
3333
self,

0 commit comments

Comments
 (0)