From 4d92c88ebe3ad3bd42d3d5736ee4a4e4dc86ed15 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Mon, 16 May 2016 03:26:23 -0500 Subject: [PATCH] fix(connection): account.id => accountId --- internal_packages/worker-sync/lib/nylas-long-connection.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal_packages/worker-sync/lib/nylas-long-connection.coffee b/internal_packages/worker-sync/lib/nylas-long-connection.coffee index 1fe064e76..11bbddfef 100644 --- a/internal_packages/worker-sync/lib/nylas-long-connection.coffee +++ b/internal_packages/worker-sync/lib/nylas-long-connection.coffee @@ -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