diff options
Diffstat (limited to 'api/src/util/Member.ts')
-rw-r--r-- | api/src/util/Member.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/src/util/Member.ts b/api/src/util/Member.ts index 7b06720b..316d3f75 100644 --- a/api/src/util/Member.ts +++ b/api/src/util/Member.ts @@ -196,6 +196,7 @@ export async function removeRole(user_id: string, guild_id: string, role_id: str export async function changeNickname(user_id: string, guild_id: string, nickname: string) { const user = await getPublicUser(user_id); + var memberObj = await MemberModel.findOneAndUpdate( { id: user_id, |