mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
API updated.
This commit is contained in:
parent
5bdd5fc54b
commit
ed31b7de70
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user