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}"