Skip to content
This repository was archived by the owner on Apr 30, 2024. It is now read-only.

Commit 568b89d

Browse files
committedNov 13, 2018
Fix for updated AppSync config
1 parent 4e00f80 commit 568b89d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎App.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ import AllDestinationsQuery from './Queries/AllDestinationsQuery';
1717
import NewDestinationMutation from './Queries/NewDestinationMutation';
1818

1919
const client = new AWSAppSyncClient({
20-
url: AppSync.graphqlEndpoint,
21-
region: AppSync.region,
20+
url: AppSync.aws_appsync_graphqlEndpoint,
21+
region: AppSync.aws_appsync_region,
2222
auth: {
2323
type: AUTH_TYPE.API_KEY,
24-
apiKey: AppSync.apiKey,
24+
apiKey: AppSync.aws_appsync_apiKey,
2525

2626
// type: AUTH_TYPE.AWS_IAM,
2727
// Note - Testing purposes only

0 commit comments

Comments
 (0)
This repository has been archived.