summary refs log tree commit diff
path: root/src/routes
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-10 14:16:30 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-10 14:16:30 +0100
commita283d70b83200f1cc112cb3058843dd5829ae5dc (patch)
treea06a91813e409ce350ec1706eca61524296284ea /src/routes
parent:bug: update package import to fosscord-server-util (diff)
downloadserver-a283d70b83200f1cc112cb3058843dd5829ae5dc.tar.xz
update imports for fosscord-server-util
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/api/v8/auth/register.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/routes/api/v8/auth/register.ts b/src/routes/api/v8/auth/register.ts
index 0ef55b96..1250b689 100644
--- a/src/routes/api/v8/auth/register.ts
+++ b/src/routes/api/v8/auth/register.ts
@@ -177,6 +177,7 @@ router.post(
 			email: adjusted_email,
 			flags: 0n, // TODO: generate default flags
 			hash: adjusted_password,
+			guilds: [],
 			valid_tokens_since: Date.now(),
 			user_settings: {
 				afk_timeout: 300,