lang: translation of django's response

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

View File

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