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({ }, token: { type: String, - default: () => crypto.randomBytes(48).toString('hex') + default: () => crypto.randomBytes(48).toString("hex") }, ip: String, userAgent: String,