TASK22057: phase18 additional consolidation slices
This commit is contained in:
@@ -56,6 +56,11 @@ const WEBAPI_URL =
|
||||
export default async function ApiProxy(req, res) {
|
||||
var searchString = req.query.searchString;
|
||||
var pageNumber = req.query.pageNumber;
|
||||
|
||||
if (typeof searchString === "undefined" || searchString.length === 0) {
|
||||
return res.status(400).json();
|
||||
}
|
||||
|
||||
var token = await getToken();
|
||||
|
||||
var orderby = req.query.orderby;
|
||||
@@ -84,8 +89,6 @@ export default async function ApiProxy(req, res) {
|
||||
? "&$skiptoken=" + '<cookie pagenumber="' + pageNumber + '" />'
|
||||
: "");
|
||||
|
||||
console.log("basic search paged:", queryUrl);
|
||||
|
||||
var apiResponse =
|
||||
searchString.length > 0
|
||||
? axios
|
||||
|
||||
Reference in New Issue
Block a user