fix(startLongConnection) Return the connection

Summary: We weren't doing this which was causing us to deref undefined later.

Test Plan: Run locally

Reviewers: juan, evan

Maniphest Tasks: T7355

Differential Revision: https://phab.nylas.com/D3561
This commit is contained in:
Mark Hahnenberg 2016-12-27 13:35:34 -08:00
parent b1aeefe433
commit b99c5a671d

View file

@ -64,7 +64,7 @@ class NylasAPI {
}
startLongConnection = (opts) => {
this.longConnection(opts).start()
return this.longConnection(opts).start()
}
incrementRemoteChangeLock = (klass, id) => {