diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-13 13:07:25 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-13 13:07:25 +0200 |
commit | 2018a97d45a918b3aec2b39abd4e7a10039c30f8 (patch) | |
tree | c5ffe3e4bcc2e0052525895aed6af28af12cdb82 /api/src/util/Member.ts | |
parent | abstract Event emission (diff) | |
parent | server-util 1.3.55 (diff) | |
download | server-2018a97d45a918b3aec2b39abd4e7a10039c30f8.tar.xz |
Merge branch 'master' of https://github.com/fosscord/fosscord-api
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 ee3f64ad..53ff4632 100644 --- a/api/src/util/Member.ts +++ b/api/src/util/Member.ts @@ -197,6 +197,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, |