lang: translation of django's response

This commit is contained in:
AdrienLSH
2024-01-31 13:54:36 +01:00
parent 3ddc1473a6
commit 3e4d52c645
2 changed files with 9 additions and 1 deletions

View File

@ -115,7 +115,8 @@ class Client
headers: {
"Content-Type": "application/json",
"X-CSRFToken": getCookie("csrftoken"),
},
'Accept-Language': this.lang.currentLang,
},
body: JSON.stringify(data),
});
return response;