Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in FaunaDB example #10304

Merged
merged 1 commit into from Jan 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/with-graphql-faunadb/scripts/setup.js
Expand Up @@ -42,7 +42,7 @@ readline.question(`Please provide the FaunaDB admin key\n`, adminKey => {
console.error(`Could not import schema, closing`)
})
.then(res => {
// The GraphQL schema is important, this means that we now have a GuestbookEntry Colleciton and an entries index.
// The GraphQL schema is important, this means that we now have a GuestbookEntry Collection and an entries index.
// Then we create a token that can only read and write to that index and collection
var client = new faunadb.Client({ secret: adminKey })
return client
Expand Down Expand Up @@ -79,7 +79,7 @@ readline.question(`Please provide the FaunaDB admin key\n`, adminKey => {
console.error(`Failed to create role, closing`)
})
.then(res => {
// The GraphQL schema is important, this means that we now have a GuestbookEntry Colleciton and an entries index.
// The GraphQL schema is important, this means that we now have a GuestbookEntry Collection and an entries index.
// Then we create a token that can only read and write to that index and collection
var client = new faunadb.Client({ secret: adminKey })
return client
Expand Down