mirror of
https://github.com/docmost/docmost.git
synced 2025-11-14 07:41:16 +10:00
fix space member count
* fix space added_by_id * rename user role change endpoints
This commit is contained in:
@ -36,7 +36,7 @@ export async function changeMemberRole(data: {
|
||||
userId: string;
|
||||
role: string;
|
||||
}): Promise<void> {
|
||||
await api.post("/workspace/members/role", data);
|
||||
await api.post("/workspace/members/change-role", data);
|
||||
}
|
||||
|
||||
export async function getPendingInvitations(
|
||||
|
||||
Reference in New Issue
Block a user