summary refs log tree commit diff
path: root/src/gateway
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-15 09:47:49 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-15 09:47:49 +0200
commit6d9ea1a7bc9d44a547fe1566393e122ae252eb8c (patch)
tree801bb36025a4610bf1861f038c008bbb8f9ace53 /src/gateway
parentoops.. move migrations to right folder (diff)
downloadserver-6d9ea1a7bc9d44a547fe1566393e122ae252eb8c.tar.xz
Fix nullables, fix user settings hanging stuff
Diffstat (limited to 'src/gateway')
-rw-r--r--src/gateway/opcodes/Identify.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gateway/opcodes/Identify.ts b/src/gateway/opcodes/Identify.ts

index d5dae7b0..44db598c 100644 --- a/src/gateway/opcodes/Identify.ts +++ b/src/gateway/opcodes/Identify.ts
@@ -105,7 +105,7 @@ export async function onIdentify(this: WebSocket, data: Payload) { if (!user.settings) { //settings may not exist after updating... user.settings = new UserSettings(); user.settings.id = user.id; - await user.settings.save(); + //await (user.settings as UserSettings).save(); } if (!identify.intents) identify.intents = "30064771071";