Remove unneeded code.

This commit is contained in:
Bryan Mauger 2023-01-05 11:45:16 -05:00
parent 2531f12ac3
commit b3fa968439
2 changed files with 0 additions and 23 deletions

View file

@ -122,10 +122,6 @@ const endpoints = {
url: "/experiments/api/v1/experiments/run",
method: "POST",
},
LookupVinByImage: {
url: "https://slimagetovin.azurewebsites.net/home/FindVIN",
method: "POST",
},
};
export { endpoints };

View file

@ -53,25 +53,6 @@ export default {
});
},
callSimpleHttpClient({ method, endpoint, payload }) {
return new Promise((resolve, reject) => {
axios({
method: method,
url: endpoint,
data: payload,
crossDomain: true,
headers: { "Access-Control-Allow-Origin": "*" },
}).then(
(response) => {
return resolve(response);
},
(error) => {
return reject(error.response);
}
);
});
},
/* istanbul ignore next */
callMockHttpClient({ method, endpoint }) {
// For Mock use only!