mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
include createdAt
This commit is contained in:
parent
4379c6e0da
commit
d7cca6ce27
@ -20,6 +20,7 @@ export default async function (payload) {
|
||||
fullName: fullName,
|
||||
avatar: avatar ?? Avatars.generate({ seed: username, type: "initials" }).uri,
|
||||
roles: roles,
|
||||
createdAt: new Date().getTime(),
|
||||
})
|
||||
|
||||
await user.save()
|
||||
|
Loading…
x
Reference in New Issue
Block a user