mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 13:12:19 +00:00
Fixed #257 Can't change nickname
This commit is contained in:
1 parent
ce055e4d72
commit
b59b5f2a4b
3 files changed
+3
-2
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user