mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-10 02:03:07 +08:00
fix(salesforce): fix object refresh & socket closed error
This commit is contained in:
parent
f999de9b41
commit
354c1f0f1d
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ MetadataStore = Reflux.createStore
|
|||
Promise.settle(promises)
|
||||
|
||||
_apiRequest: (type) ->
|
||||
typePath = if type then "/#{type}/" else ""
|
||||
typePath = if type then "/#{type}/" else "/"
|
||||
new Promise (resolve, reject) =>
|
||||
EdgehillAPI.request
|
||||
path: "/metadata/#{@_namespaceId}#{typePath}"
|
||||
|
|
Loading…
Reference in a new issue