From cc6326a5242461a1c0cd1ae54fc11d36d1faaf32 Mon Sep 17 00:00:00 2001 From: anikachurilova Date: Thu, 18 Jan 2024 11:14:16 +0100 Subject: [PATCH] ajax: change default accept headers for all ajax calls --- src/lib/api/connector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/api/connector.js b/src/lib/api/connector.js index d9fafd10..ec5acf45 100644 --- a/src/lib/api/connector.js +++ b/src/lib/api/connector.js @@ -17,7 +17,7 @@ const baseAxiosConfiguration = { xsrfCookieName: "csrftoken", xsrfHeaderName: "X-CSRFToken", headers: { - "Accept": "application/json", + "Accept": "application/vnd.inveniordm.v1+json", "Content-Type": "application/json", }, };