1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 05:02:37 +01:00

🐛 fix routes user.user_data

This commit is contained in:
Flam3rboy 2021-04-06 04:03:37 +02:00
parent 8b64ab4f38
commit 0e9089dee9

View File

@ -180,9 +180,14 @@ router.post(
verified: false,
email: adjusted_email,
flags: 0n, // TODO: generate default flags
hash: adjusted_password,
guilds: [],
valid_tokens_since: new Date(),
user_data: {
hash: adjusted_password,
valid_tokens_since: new Date(),
relationships: [],
connected_accounts: [],
fingerprints: [],
},
user_settings: {
afk_timeout: 300,
allow_accessibility_detection: true,