Skip to content

Commit

Permalink
feat(multilang): add language header to caluma requests as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Metzener committed Jul 24, 2019
1 parent f0f9b0b commit 48f976c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addon/mixins/caluma-apollo-service-mixin.js
Expand Up @@ -34,7 +34,8 @@ export default Mixin.create({
let localeLink = setContext((_, { headers }) => ({
headers: {
...headers,
"Accept-Language": this.get("intl.locale")
language: this.get("intl.locale"),
"accept-language": this.get("intl.locale")
}
}));

Expand Down

0 comments on commit 48f976c

Please sign in to comment.