From 8cdb9dea30159b02b19fe9633125b36d8fa9f9a0 Mon Sep 17 00:00:00 2001 From: Isaac Date: Wed, 17 Apr 2024 23:31:38 +0100 Subject: [PATCH] remove discriminator from session --- src/routes/auth/callback.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/routes/auth/callback.js b/src/routes/auth/callback.js index 6205c81..59821ab 100644 --- a/src/routes/auth/callback.js +++ b/src/routes/auth/callback.js @@ -19,7 +19,6 @@ module.exports.get = () => ({ const token = this.jwt.sign({ accessToken: data.access_token, avatar: user.avatar, - discriminator: user.discriminator, expiresAt: Date.now() + (data.expires_in * 1000), id: user.id, locale: user.locale,