diff --git a/functions/todos-create.js b/functions/todos-create.js index fb16d33..61b2748 100644 --- a/functions/todos-create.js +++ b/functions/todos-create.js @@ -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 */