From 354c1f0f1df171251319458eff621bc865776958 Mon Sep 17 00:00:00 2001 From: Evan Morikawa Date: Fri, 8 May 2015 19:46:27 -0700 Subject: [PATCH] fix(salesforce): fix object refresh & socket closed error --- src/flux/stores/metadata-store.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flux/stores/metadata-store.coffee b/src/flux/stores/metadata-store.coffee index 2c18a8a07..d76ac6e26 100644 --- a/src/flux/stores/metadata-store.coffee +++ b/src/flux/stores/metadata-store.coffee @@ -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}"