Skip to content

Commit 003e135

Browse files
geekgonecrazysampaiodiego
authored andcommitted
[FIX] Server crash on sync with no response (#15919)
1 parent 401d02d commit 003e135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/cloud/server/functions/syncWorkspace.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export function syncWorkspace(reconnectCheck = false) {
7272

7373
const { data } = result;
7474

75-
if (data.publicKey) {
75+
if (data && data.publicKey) {
7676
Settings.updateValueById('Cloud_Workspace_PublicKey', data.publicKey);
7777
}
7878

0 commit comments

Comments
 (0)