diff options
author | bob <bcz@cs.brown.edu> | 2019-12-04 12:50:38 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-12-04 12:50:38 -0500 |
commit | 97a4a9b1cfddc8b147ff61be13624704949c97f7 (patch) | |
tree | aa5e692acd13a3f90bae34efa5e1e9dafddcabfe /src/server/Initialization.ts | |
parent | 26fc5559314960c9cb186f56052b69e4f7d30f74 (diff) |
tweaks to textbox sidebar. update to passport and npm
Diffstat (limited to 'src/server/Initialization.ts')
-rw-r--r-- | src/server/Initialization.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/Initialization.ts b/src/server/Initialization.ts index 6fe67f2c7..ff2b64317 100644 --- a/src/server/Initialization.ts +++ b/src/server/Initialization.ts @@ -40,7 +40,7 @@ export default async function InitializeServer(options: InitializationOptions) { app.use("*", ({ user, originalUrl }, res, next) => { if (user && !originalUrl.includes("Heartbeat")) { - const userEmail = user.email; + const userEmail = (user as any).email; if (userEmail) { timeMap[userEmail] = Date.now(); } |