diff --git a/app/services/doi.js b/app/services/doi.js index 163cf7d9..75a0ce00 100644 --- a/app/services/doi.js +++ b/app/services/doi.js @@ -32,6 +32,7 @@ export default class DoiService extends Service { headers: { Accept: 'application/json; charset=utf-8', withCredentials: 'include', + 'X-XSRF-TOKEN': document.cookie.match(/XSRF-TOKEN\=([^;]*)/)['1'], }, });