fix(connection): account.id => accountId

This commit is contained in:
Ben Gotow 2016-05-16 03:26:23 -05:00
parent 29fc4c80d8
commit 4d92c88ebe

View file

@ -111,7 +111,7 @@ class NylasLongConnection
res.on 'data', (chunk) =>
if chunk.toString().indexOf('Invalid cursor') > 0
error = new Error('Delta Connection: Cursor is invalid. Need to blow away local cache.')
NylasEnv.config.removeAtKeyPath("nylas.#{@_account.id}.cursor")
NylasEnv.config.removeAtKeyPath("nylas.#{@_accountId}.cursor")
DatabaseStore._handleSetupError(error)
@close()
return