From 2bae7005e541dfd8c96006dae43fbec3cc56c91d Mon Sep 17 00:00:00 2001 From: Mathias Wagner <germannewsmaker@gmail.com> Date: Sun, 15 Jan 2023 19:44:07 +0100 Subject: [PATCH] Made the Session.ts model token double-quoted --- src/models/Session.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/Session.ts b/src/models/Session.ts index cf2119a..fffee5b 100644 --- a/src/models/Session.ts +++ b/src/models/Session.ts @@ -18,7 +18,7 @@ const SessionSchema = new Schema<ISession>({ }, token: { type: String, - default: () => crypto.randomBytes(48).toString('hex') + default: () => crypto.randomBytes(48).toString("hex") }, ip: String, userAgent: String,