1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-14 14:42:55 +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, verified: false,
email: adjusted_email, email: adjusted_email,
flags: 0n, // TODO: generate default flags flags: 0n, // TODO: generate default flags
hash: adjusted_password,
guilds: [], guilds: [],
user_data: {
hash: adjusted_password,
valid_tokens_since: new Date(), valid_tokens_since: new Date(),
relationships: [],
connected_accounts: [],
fingerprints: [],
},
user_settings: { user_settings: {
afk_timeout: 300, afk_timeout: 300,
allow_accessibility_detection: true, allow_accessibility_detection: true,