From 288896dca96317697700bfeff9c0298a4ce1eb25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Banno-Cloutier?= <leo.banno-cloutier@savoirfairelinux.com> Date: Fri, 7 Jul 2023 14:52:14 -0400 Subject: [PATCH] jams-react-client: add encoding in request headers Gitlab: #102 Change-Id: Ieba9643399dfd875903e7c9f8e6f88db5763cc10 --- jams-react-client/src/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jams-react-client/src/api.js b/jams-react-client/src/api.js index eb57688f..1dfb7b79 100644 --- a/jams-react-client/src/api.js +++ b/jams-react-client/src/api.js @@ -59,7 +59,7 @@ export default function configApiCall( config["headers"]["Authorization"] = "Bearer " + jwt; } - config["headers"]["Content-type"] = "application/json"; + config["headers"]["Content-type"] = "application/json;charset=UTF-8"; // pass data in the header if (data) { -- GitLab