mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-22 00:06:06 +08:00
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:
parent
b1aeefe433
commit
b99c5a671d
|
@ -64,7 +64,7 @@ class NylasAPI {
|
|||
}
|
||||
|
||||
startLongConnection = (opts) => {
|
||||
this.longConnection(opts).start()
|
||||
return this.longConnection(opts).start()
|
||||
}
|
||||
|
||||
incrementRemoteChangeLock = (klass, id) => {
|
||||
|
|
Loading…
Reference in a new issue