Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update keys from aws-exports.js (#419)
It seems like the keys `aws-exports.js` have changed since writing the tutorial.
  • Loading branch information
matthiasn authored and undefobj committed May 31, 2019
1 parent 526b9b8 commit cbfd4c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tutorials/react-offline-realtime-todos/README.md
Expand Up @@ -79,11 +79,11 @@ Replace everything __after__ the definition of the `<App />` component with the

```jsx
const client = new AWSAppSyncClient({
url: awsmobile.graphqlEndpoint,
region: awsmobile.region,
url: awsmobile.aws_appsync_graphqlEndpoint,
region: awsmobile.aws_appsync_region,
auth: {
type: awsmobile.authenticationType,
apiKey: awsmobile.apiKey
type: awsmobile.aws_appsync_authenticationType,
apiKey: awsmobile.aws_appsync_apiKey
}
})

Expand Down

0 comments on commit cbfd4c3

Please sign in to comment.