Skip to content

Commit

Permalink
Updated request windows
Browse files Browse the repository at this point in the history
  • Loading branch information
P3TROOS committed Oct 24, 2023
1 parent be0c8ac commit 4ba24c5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ const useRequestMaker = () => {
body: JSON.stringify(requestBody)
}).then(() => {
console.log("New request added");
window.alert("Successfully created " + requestBody + "request.");
window.alert("Successfully created " + requestBody.support_type + " request.");
})
.catch((error) => {
window.alert("Couldn't created " + requestBody + "request. Possible duplicate request.");
window.alert("Couldn't created " + requestBody.support_type + " request. Possible duplicate request.");
})
};

Expand Down

0 comments on commit 4ba24c5

Please sign in to comment.