Commit be36c07d authored by Peter Kuhn's avatar Peter Kuhn
Browse files

fix bug in url for getStatus

parent 67e2a70c
......@@ -89,12 +89,12 @@ export const sendApplication = async (
export const getStatus = async (applicationId, destinationId, accessToken) => {
try {
const response = await axios.get(
"https://sender.fiep-poc.de/beta5/" + config.senderId + "/" + destinationId + "/" + applicationId + "/status",
"https://sender.fiep-poc.de/beta5/" + config.senderId + "/" + destinationId + "/" + applicationId + "/upload-status",
{
headers: { Authorization: "Bearer " + accessToken },
}
);
return response.current.code;
return response.data.data.status;
} catch (error) {
console.log(error);
return "error";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment