Skip to content
Snippets Groups Projects
Commit 40bcdd06 authored by Tonge, Marcus A (UG - Comp Sci & Elec Eng)'s avatar Tonge, Marcus A (UG - Comp Sci & Elec Eng)
Browse files

Content type JSON update

parent 3336165e
No related branches found
No related tags found
No related merge requests found
...@@ -123,6 +123,7 @@ const AdminPageView = () => { ...@@ -123,6 +123,7 @@ const AdminPageView = () => {
const response = await fetch(`${baseUrl}/location/parking-locations`, { const response = await fetch(`${baseUrl}/location/parking-locations`, {
method: "POST", method: "POST",
headers: { headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${localStorage.getItem("token")}`, Authorization: `Bearer ${localStorage.getItem("token")}`,
}, },
body: JSON.stringify({ body: JSON.stringify({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment