u
This commit is contained in:
@@ -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**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user