Skip to content

Commit 9e5b8f1

Browse files
anikachurilovakpsherva
authored andcommitted
ajax: change default accept headers for all ajax calls
1 parent d930557 commit 9e5b8f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/api/connector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const baseAxiosConfiguration = {
1717
xsrfCookieName: "csrftoken",
1818
xsrfHeaderName: "X-CSRFToken",
1919
headers: {
20-
"Accept": "application/json",
20+
"Accept": "application/vnd.inveniordm.v1+json",
2121
"Content-Type": "application/json",
2222
},
2323
};

0 commit comments

Comments
 (0)