diff --git a/js/src/common/Session.ts b/js/src/common/Session.ts index 1cc795123c..00e20305d2 100644 --- a/js/src/common/Session.ts +++ b/js/src/common/Session.ts @@ -27,9 +27,9 @@ export default class Session { /** * The CSRF token. */ - csrfToken: string | null; + csrfToken: string; - constructor(user: User | null, csrfToken: string | null) { + constructor(user: User | null, csrfToken: string) { this.user = user; this.csrfToken = csrfToken; }