garrensmith commented on a change in pull request #993: Display Mango execution 
statistics, when available
URL: https://github.com/apache/couchdb-fauxton/pull/993#discussion_r142933030
 
 

 ##########
 File path: app/addons/documents/mango/mango.api.js
 ##########
 @@ -104,9 +128,10 @@ export const mergeFetchParams = (queryCode, fetchParams) 
=> {
   };
 };
 
-export const mangoQueryDocs = (databaseName, queryCode, fetchParams) => {
-  const url = FauxtonAPI.urls('mango', 'query-server', 
encodeURIComponent(databaseName));
+export const mangoQuery = (databaseName, queryCode, fetchParams) => {
+  const url = FauxtonAPI.urls('mango', 'query-server', databaseName);
 
 Review comment:
   Can yo uadd the encodeURIComponent back here. Otherwise this doesn't work 
with any database with `/` in it
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to