Skip to content

Commit

Permalink
feat(cf-navigation): add possibility to pass custom headers (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
czosel authored May 18, 2019
1 parent 837ca8c commit 16e4448
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addon/components/cf-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ export default Component.extend(ComponentQueryManager, {
{
query: getNavigationQuery,
variables: { id: window.btoa("Document:" + this.documentId) },
fetchPolicy: "network-only"
fetchPolicy: "network-only",
context: { headers: this.get("context.headers") }
},
"node"
);
Expand Down

0 comments on commit 16e4448

Please sign in to comment.