Skip to content
Permalink
Browse files

feat(multilang): add language header to caluma requests as well

  • Loading branch information...
anehx committed Jul 24, 2019
1 parent f0f9b0b commit 48f976c7afb2681194a26b29508af5965b87594e
Showing with 2 additions and 1 deletion.
  1. +2 −1 addon/mixins/caluma-apollo-service-mixin.js
@@ -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")
}
}));

0 comments on commit 48f976c

Please sign in to comment.
You can’t perform that action at this time.