diff --git a/web/src/utils.js b/web/src/utils.js index 21b2e97..6e9d8e4 100644 --- a/web/src/utils.js +++ b/web/src/utils.js @@ -47,7 +47,7 @@ const http = { method: 'POST', headers: { "Content-Type": "application/json", - "Authorization": `Token ${data.token}`, + "Authorization": `Token ${token}`, }, body: JSON.stringify(data), });