Make uid null instead of undefined, when user is not logged in
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
39a613a3f1
commit
cb67258ef3
@ -1,11 +1,10 @@
|
|||||||
|
|
||||||
export default class Session {
|
export default class Session {
|
||||||
constructor(private _sessionid: string) { }
|
constructor(private _sessionid: string) {}
|
||||||
get id() {
|
get id() {
|
||||||
return this._sessionid;
|
return this._sessionid;
|
||||||
}
|
}
|
||||||
root: boolean = false;
|
root: boolean = false;
|
||||||
uid: string = undefined;
|
uid: string = null;
|
||||||
|
|
||||||
subscriptions = new Map<string, (() => void)>();
|
subscriptions = new Map<string, () => void>();
|
||||||
}
|
}
|
Reference in New Issue
Block a user