mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
await to save
This commit is contained in:
parent
67f500f9d4
commit
cbf875ba98
@ -22,7 +22,7 @@ export default async function (payload) {
|
||||
roles: roles,
|
||||
})
|
||||
|
||||
user.save()
|
||||
await user.save()
|
||||
|
||||
return user
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user