diff options
| author | bobzel <zzzman@gmail.com> | 2023-07-31 13:47:48 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-07-31 13:47:48 -0400 |
| commit | 0b8de303098755a1d92288a320658eee48bff599 (patch) | |
| tree | fb603419433f6a3115cd36ca84c46e76a840bbbf /src | |
| parent | 65d9b0eec138b99469d074a39c81ade6b972f4ab (diff) | |
from last
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/util/CurrentUserUtils.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts index cd4152bf9..92a0f44b7 100644 --- a/src/client/util/CurrentUserUtils.ts +++ b/src/client/util/CurrentUserUtils.ts @@ -916,9 +916,9 @@ export class CurrentUserUtils { public static async loadCurrentUser() { return rp.get(Utils.prepend("/getCurrentUser")).then(async response => { if (response) { - const result: { id: string, email: string, cacheDocumentIds: string, ports: string } = JSON.parse(response); + const result: { id: string, email: string, cacheDocumentIds: string, resolvedPorts: string } = JSON.parse(response); Doc.CurrentUserEmail = result.email; - resolvedPorts = result.ports as any; + resolvedPorts = result.resolvedPorts as any; DocServer.init(window.location.protocol, window.location.hostname, resolvedPorts.socket, result.email); if (result.cacheDocumentIds) { |
