Skip to content

Commit

Permalink
delete commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
iartemiev committed Oct 18, 2024
1 parent f67a8f1 commit f975992
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions packages/api-graphql/src/utils/resolveConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,26 +44,3 @@ export const resolveConfig = (amplify: AmplifyClassV6) => {
region,
};
};

// /**
// * @internal
// */
// export const resolveEventsConfig = (amplify: AmplifyClassV6) => {
// const config = amplify.getConfig();

// if (!config.API?.Events) {
// logger.warn(
// 'The Events configuration is missing. This is likely due to Amplify.configure() not being called prior to using events.connect() or events.post().',
// );
// }

// const { apiKey, endpoint, defaultAuthMode, region } =
// config.API?.Events ?? {};

// return {
// apiKey,
// defaultAuthMode,
// appSyncGraphqlEndpoint: endpoint,
// region,
// };
// };

0 comments on commit f975992

Please sign in to comment.