summary refs log tree commit diff
path: root/api/src/util
diff options
context:
space:
mode:
authorIntevel ツ <59223342+Intevel@users.noreply.github.com>2021-08-13 12:03:54 +0200
committerIntevel ツ <59223342+Intevel@users.noreply.github.com>2021-08-13 12:03:54 +0200
commit14ffb5c0408acdd2dc9c4783df4b46ec8e16905f (patch)
treeb8422645ce1784046a05cafa641e04a27b9400b4 /api/src/util
parentMerge pull request #256 from luth31/master (diff)
downloadserver-14ffb5c0408acdd2dc9c4783df4b46ec8e16905f.tar.xz
Fixed #257 Can't change nickname
Diffstat (limited to 'api/src/util')
-rw-r--r--api/src/util/Member.ts1
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,