Skip to content
Permalink
Browse files

feat(cf-navigation): add possibility to pass custom headers (#255)

  • Loading branch information...
czosel committed May 18, 2019
1 parent 837ca8c commit 16e444819f2b81b3dca499b2223a25642d9c872c
Showing with 2 additions and 1 deletion.
  1. +2 −1 addon/components/cf-navigation.js
@@ -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"
);

0 comments on commit 16e4448

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