Skip to content

Commit

Permalink
docs(readme): fix quickstart variable use (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
notrab authored Jul 12, 2023
1 parent 5c15027 commit dfe61d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ try {
// build queries using the `fql` function
const collectionQuery = fql`Collection.create({ name: "Dogs" })`;
// execute the query
const collectionResponse = await client.query(collection_query);
const collectionResponse = await client.query(collectionQuery);

// define some data in your app
const dog = { name: "Scout" };
Expand All @@ -69,7 +69,7 @@ try {
`;

// execute the query
const response = await client.query(document_query);
const response = await client.query(documentQuery);
} catch (error) {
if (error instanceof FaunaError) {
// handle errors
Expand Down

0 comments on commit dfe61d6

Please sign in to comment.