aboutsummaryrefslogtreecommitdiff
path: root/src/server/authentication/models/current_user_utils.ts
diff options
context:
space:
mode:
authorStanley Yip <stanley_yip@brown.edu>2020-02-04 18:12:47 -0500
committerStanley Yip <stanley_yip@brown.edu>2020-02-04 18:12:47 -0500
commit1007cfb325f2dcddc4365538e4b354d06eb85f2f (patch)
tree62fb6a253e6940cadfe24aa8e96ba9f16b68ad9b /src/server/authentication/models/current_user_utils.ts
parentdab8f5893ffb8fab05a46695b9d1a690d1171bca (diff)
ok so the toolglass is working, but it's super slow... i'll fix that later lol
Diffstat (limited to 'src/server/authentication/models/current_user_utils.ts')
-rw-r--r--src/server/authentication/models/current_user_utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/authentication/models/current_user_utils.ts b/src/server/authentication/models/current_user_utils.ts
index 6c37380f3..b0ea2f9ad 100644
--- a/src/server/authentication/models/current_user_utils.ts
+++ b/src/server/authentication/models/current_user_utils.ts
@@ -137,7 +137,7 @@ export class CurrentUserUtils {
thumbDoc.inkToTextDoc = Docs.Create.LinearDocument([], { _width: 300, _height: 25, _autoHeight: true, _chromeStatus: "disabled", isExpanded: true, flexDirection: "column" });
userDoc.thumbDoc = thumbDoc;
}
- return userDoc.thumbDoc;
+ return Cast(userDoc.thumbDoc, Doc);
}
static setupMobileDoc(userDoc: Doc) {