Skip to content

Commit

Permalink
Add default value for clientAwareness
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrearden committed Jul 28, 2020
1 parent 98ffc0c commit 81900d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/public/createUploadLink.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ module.exports = function createUploadLink({
// Apollo Studio client awareness `name` and `version` can be configured
// via `ApolloClient` constructor options:
// https://apollographql.com/docs/studio/client-awareness/#using-apollo-server-and-apollo-client
clientAwareness: { name, version },
clientAwareness: { name, version } = {},
headers,
} = context;

Expand Down

0 comments on commit 81900d5

Please sign in to comment.