Update dependencies & fix misc formatting errors
This commit is contained in:
@@ -35,7 +35,7 @@ export class ORMSession extends Session {
|
||||
this.data = this.session.json
|
||||
} else {
|
||||
this.session = <SessionModel> Container.getContainer().make(SessionModel)
|
||||
this.session.uuid = this.key
|
||||
this.session.sessionUuid = this.key
|
||||
this.data = {} as SessionData
|
||||
}
|
||||
}
|
||||
@@ -48,7 +48,7 @@ export class ORMSession extends Session {
|
||||
throw new SessionNotLoadedError()
|
||||
}
|
||||
|
||||
this.session.uuid = this.key
|
||||
this.session.sessionUuid = this.key
|
||||
this.session.json = JSON.stringify(this.data)
|
||||
await this.session.save()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user