Skip to content

Commit

Permalink
Fix typo in FaunaDB example
Browse files Browse the repository at this point in the history
Colleciton -> Collection
  • Loading branch information
apollonian committed Jan 28, 2020
1 parent 6dbc03b commit a459a15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/with-graphql-faunadb/scripts/setup.js
Original file line number Diff line number Diff line change
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 a459a15

Please sign in to comment.