Skip to content

Commit

Permalink
Fix typo in FaunaDB example (#10304)
Browse files Browse the repository at this point in the history
Colleciton -> Collection
  • Loading branch information
apollonian authored and timneutkens committed Jan 28, 2020
1 parent 6f6989b commit 3720312
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 3720312

Please sign in to comment.