Skip to content

Commit

Permalink
🔥 Removes dead condition
Browse files Browse the repository at this point in the history
This is already covered by the assert above.
  • Loading branch information
AndreMiras committed Dec 10, 2020
1 parent 52d01fd commit 65858c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/graphql.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ assert( // eslint-disable-line no-console
const authLink = setContext((_, { headers }) => ({
headers: {
...headers,
authorization: token ? `Bearer ${token}` : '',
authorization: `Bearer ${token}`,
},
}));

Expand Down

0 comments on commit 65858c9

Please sign in to comment.