Skip to content

Commit 81900d5

Browse files
committed
Add default value for clientAwareness
1 parent 98ffc0c commit 81900d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/public/createUploadLink.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ module.exports = function createUploadLink({
9393
// Apollo Studio client awareness `name` and `version` can be configured
9494
// via `ApolloClient` constructor options:
9595
// https://apollographql.com/docs/studio/client-awareness/#using-apollo-server-and-apollo-client
96-
clientAwareness: { name, version },
96+
clientAwareness: { name, version } = {},
9797
headers,
9898
} = context;
9999

0 commit comments

Comments
 (0)