Skip to content

Commit

Permalink
Fix null pointer error
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelklehr committed Oct 2, 2017
1 parent d0c2f15 commit 91b0cd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/entries/background-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ window.syncAccount = function(accountId) {
if (syncing[accountId]) {
next[accountId] = () => {
delete next[accountId]
syncAccount(accountId)
return syncAccount(accountId)
}
return
return Promise.resolve()
}
syncing[accountId] = true
Account.get(accountId)
Expand Down

0 comments on commit 91b0cd0

Please sign in to comment.