Made the Session.ts model token double-quoted
This commit is contained in:
parent
ed21efd438
commit
2bae7005e5
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user