API updated.

This commit is contained in:
Miroslav Šedivý 2020-12-08 16:13:26 +01:00
parent 5bdd5fc54b
commit ed31b7de70

View File

@ -268,7 +268,7 @@
public memberUpdate( public memberUpdate(
memberId: string, memberId: string,
memberDataPayload: { memberProfile: {
secret: string secret: string
name: string name: string
isAdmin: boolean isAdmin: boolean
@ -279,7 +279,7 @@
canAccessClipboard: boolean canAccessClipboard: boolean
}, },
) { ) {
this.api.admin.membersUpdate({ memberId, memberDataPayload }) this.api.admin.membersUpdate({ memberId, memberProfile })
} }
public memberDelete(memberId: string) { public memberDelete(memberId: string) {