Compare commits

...

1 Commits

Author SHA1 Message Date
Naren 428ad50f44 remove 'metadataSearch' handling 2022-02-08 17:39:40 -08:00
1 changed files with 7 additions and 7 deletions

View File

@ -100,13 +100,13 @@ dataRetrievalParams) {
return routesUtils.responseXMLBody(err, xml, response, return routesUtils.responseXMLBody(err, xml, response,
log, corsHeaders); log, corsHeaders);
}); });
} else if (request.query.search !== undefined) { // } else if (request.query.search !== undefined) {
api.callApiMethod('metadataSearch', request, response, log, // api.callApiMethod('metadataSearch', request, response, log,
(err, xml, corsHeaders) => { // (err, xml, corsHeaders) => {
routesUtils.statsReport500(err, statsClient); // routesUtils.statsReport500(err, statsClient);
return routesUtils.responseXMLBody(err, xml, response, // return routesUtils.responseXMLBody(err, xml, response,
log, corsHeaders); // log, corsHeaders);
}); // });
} else { } else {
// GET bucket // GET bucket
api.callApiMethod('bucketGet', request, response, log, api.callApiMethod('bucketGet', request, response, log,