Skip to content

Commit

Permalink
fix(api-graphql): Subscription authtype overriding
Browse files Browse the repository at this point in the history
  • Loading branch information
stocaaro committed Oct 24, 2023
1 parent 4f5f749 commit f41c5c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api-graphql/src/internals/InternalGraphQLAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ export class InternalGraphQLAPIClass {
variables,
appSyncGraphqlEndpoint: config?.endpoint,
region: config?.region,
authenticationType: config?.defaultAuthMode,
authenticationType: authMode ?? config?.defaultAuthMode,
apiKey: config?.apiKey,
additionalHeaders,
},
Expand Down

0 comments on commit f41c5c4

Please sign in to comment.