removed unused imports & watch case on adv search

This commit is contained in:
2022-01-20 10:31:53 +00:00
parent ab45a5fc77
commit f0b69141d4
76 changed files with 458 additions and 636 deletions
+3 -1
View File
@@ -1,5 +1,4 @@
import axios from "axios";
import https from "https";
import CryptoJS from "crypto-js";
import _ from "lodash";
import { getToken, azureHeadersPaged } from "../../../actions";
@@ -55,9 +54,12 @@ export default async function ApiProxy(req, res) {
? res.status(400).json()
: axios(config)
.then(({ data }) => {
console.log(data);
res.status(200).json(data);
})
.catch(({ err }) => {
res.status(400).json(err);
});
return apiResponse;
}