diff options
author | bobzel <zzzman@gmail.com> | 2020-10-01 20:49:31 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-10-01 20:49:31 -0400 |
commit | ae10a9c7e6188236023f790c1ff6abb0e211311e (patch) | |
tree | eb0c7ff26d0349fd183f205116fdf9316e6e3248 /src/client/util/CurrentUserUtils.ts | |
parent | 266590937d3fda5dd96729edaa7c9bfac42370d9 (diff) |
from last
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r-- | src/client/util/CurrentUserUtils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts index c00ad2334..add595cd1 100644 --- a/src/client/util/CurrentUserUtils.ts +++ b/src/client/util/CurrentUserUtils.ts @@ -1023,7 +1023,7 @@ export class CurrentUserUtils { const { userDocumentId, sharingDocumentId } = JSON.parse(ids) as any; if (userDocumentId !== "guest") { return DocServer.GetRefField(userDocumentId).then(async field => - Doc.SetUserDoc(await this.updateUserDocument(field instanceof Doc ? field : new Doc(userDocumentId, true), sharingDocumentId))); + await this.updateUserDocument(Doc.SetUserDoc(field instanceof Doc ? field : new Doc(userDocumentId, true)), sharingDocumentId)); } else { throw new Error("There should be a user id! Why does Dash think there isn't one?"); } |