This commit is contained in:
j3d1 2024-02-03 00:49:15 +01:00
parent 43fc551fc8
commit b356a85628

View file

@ -47,7 +47,7 @@ const http = {
method: 'POST',
headers: {
"Content-Type": "application/json",
"Authorization": `Token ${data.token}`,
"Authorization": `Token ${token}`,
},
body: JSON.stringify(data),
});
@ -62,7 +62,7 @@ const http = {
method: 'PUT',
headers: {
"Content-Type": "application/json",
"Authorization": `Token ${data.token}`,
"Authorization": `Token ${token}`,
},
body: JSON.stringify(data),
});
@ -77,7 +77,7 @@ const http = {
method: 'PATCH',
headers: {
"Content-Type": "application/json",
"Authorization": `Token ${data.token}`,
"Authorization": `Token ${token}`,
},
body: JSON.stringify(data),
});