Make uid null instead of undefined, when user is not logged in
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Fabian Stamm 2020-10-28 01:13:35 +01:00
parent 39a613a3f1
commit cb67258ef3

View File

@ -1,11 +1,10 @@
export default class Session {
constructor(private _sessionid: string) { }
constructor(private _sessionid: string) {}
get id() {
return this._sessionid;
}
root: boolean = false;
uid: string = undefined;
uid: string = null;
subscriptions = new Map<string, (() => void)>();
}
subscriptions = new Map<string, () => void>();
}