Skip to content

Commit

Permalink
ajax: change default accept headers for all ajax calls
Browse files Browse the repository at this point in the history
  • Loading branch information
anikachurilova authored and kpsherva committed Aug 12, 2024
1 parent d930557 commit 9e5b8f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/api/connector.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
};
Expand Down

0 comments on commit 9e5b8f1

Please sign in to comment.