Skip to content

Commit

Permalink
Update authLink.js
Browse files Browse the repository at this point in the history
  • Loading branch information
glo82145 authored Sep 18, 2023
1 parent 9ec785f commit 9be733a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/peregrine/lib/Apollo/links/authLink.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ var gg = 'dd';
export class MagentoGQLCacheLink extends ApolloLink {
// The token get reinstantiated on refresh.
// If we have an existing token value from a previous browsing session, use it.


request(operation, forward) {
operation.setContext(previousContext => {
Expand Down Expand Up @@ -46,4 +47,4 @@ export class MagentoGQLCacheLink extends ApolloLink {

export default function createAuthLink() {
return new MagentoGQLCacheLink();
}
}

0 comments on commit 9be733a

Please sign in to comment.