stash
This commit is contained in:
parent
43fc551fc8
commit
b356a85628
1 changed files with 3 additions and 3 deletions
|
@ -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),
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue