update API to int

This commit is contained in:
joseph le 2023-10-03 08:13:20 +07:00
parent 253139e418
commit 2e195e2630
1 changed files with 6 additions and 6 deletions

View File

@ -185,13 +185,13 @@ export const checkIndexSN = async (content, beginLine, nameF) => {
{ headers: { Authorization: "Bearer " + token } }
);
// const response_int = await axios.post(
// "https://int.ipsupply.com.au/api/transferPostData",
// data,
// { headers: { Authorization: "Bearer " + token } }
// );
const response_int = await axios.post(
"https://int.ipsupply.com.au/api/transferPostData",
data,
{ headers: { Authorization: "Bearer " + token_int } }
);
console.log(nameF + " response\n", response.data);
console.log(nameF + " response\n", response_int.data);
}
}
} catch (error) {