Update todos-create.js
This commit is contained in:
parent
65522c08ec
commit
36e12d4a79
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ import faunadb from 'faunadb' /* Import faunaDB sdk */
|
|||
/* configure faunaDB Client with our secret */
|
||||
const q = faunadb.query
|
||||
const client = new faunadb.Client({
|
||||
secret: process.env.FAUNADB_SECRET
|
||||
secret: process.env.FAUNADB_SERVER_SECRET
|
||||
})
|
||||
|
||||
/* export our lambda function as named "handler" export */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue