Updated the id field in the Session.ts model
This commit is contained in:
parent
a23f974f43
commit
5b59f674ef
@ -2,8 +2,8 @@ import {model, ObjectId, Schema, Types} from "mongoose";
|
||||
import { fieldEncryption } from "mongoose-field-encryption";
|
||||
import crypto from "crypto";
|
||||
|
||||
interface ISession {
|
||||
id: ObjectId,
|
||||
export interface ISession {
|
||||
_id: ObjectId,
|
||||
userId: ObjectId,
|
||||
token: string,
|
||||
ip: string,
|
||||
|
Loading…
x
Reference in New Issue
Block a user