update API to int
This commit is contained in:
parent
253139e418
commit
2e195e2630
|
|
@ -185,13 +185,13 @@ export const checkIndexSN = async (content, beginLine, nameF) => {
|
||||||
{ headers: { Authorization: "Bearer " + token } }
|
{ headers: { Authorization: "Bearer " + token } }
|
||||||
);
|
);
|
||||||
|
|
||||||
// const response_int = await axios.post(
|
const response_int = await axios.post(
|
||||||
// "https://int.ipsupply.com.au/api/transferPostData",
|
"https://int.ipsupply.com.au/api/transferPostData",
|
||||||
// data,
|
data,
|
||||||
// { headers: { Authorization: "Bearer " + token } }
|
{ headers: { Authorization: "Bearer " + token_int } }
|
||||||
// );
|
);
|
||||||
|
|
||||||
console.log(nameF + " response\n", response.data);
|
console.log(nameF + " response\n", response_int.data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue