This commit is contained in:
seb
2026-11-02 00:51:18 +01:00
parent d0a33b1f82
commit 26f21cd7ac
6 changed files with 20 additions and 16 deletions

View File

@@ -48,7 +48,7 @@ Adds an existing Google auth user to the admin's selected company. The added use
**Returns**
`Promise<{id: number, googleAuthId: number, email: string, role: 'admin'|'user'}>` — The created company user.
`Promise<{id: number, googleAuthId: number, email: string, picture: string|null, role: 'admin'|'user'}>` — The created company user.
**Throws**
@@ -122,7 +122,7 @@ Lists the members of the admin's selected company.
**Returns**
`Promise<Array<{id: number, googleAuthId: number, email: string, role: 'admin'|'user'}>>` — The company users ordered by email.
`Promise<Array<{id: number, googleAuthId: number, email: string, picture: string|null, role: 'admin'|'user'}>>` — The company users ordered by email.
**Throws**
@@ -220,7 +220,7 @@ Changes the role of a member of the admin's selected company.
**Returns**
`Promise<{id: number, googleAuthId: number, role: 'admin'|'user'}>` — The updated company user.
`Promise<{id: number, googleAuthId: number, email: string, picture: string|null, role: 'admin'|'user'}>` — The updated company user.
**Throws**