mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-24 19:59:12 +00:00
fix(DiscordService): properly authenticate updateRoles RPC call
This commit is contained in:
parent
75461503e3
commit
33a4d6ce76
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ class DiscordService extends Service {
|
||||||
async updateRoles(memberObj, newRoles) {
|
async updateRoles(memberObj, newRoles) {
|
||||||
memberObj.rolesList = newRoles
|
memberObj.rolesList = newRoles
|
||||||
const member = this.memberToProto(memberObj)
|
const member = this.memberToProto(memberObj)
|
||||||
await this.rpc.updateMember(member)
|
await this.rpc.updateMember(member, this.sharedHeaders)
|
||||||
}
|
}
|
||||||
|
|
||||||
memberToProto(member) {
|
memberToProto(member) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue