diff --git a/functions/todos-read.js b/functions/todos-read.js index f5b388b..9806689 100644 --- a/functions/todos-read.js +++ b/functions/todos-read.js @@ -3,7 +3,7 @@ import getId from './utils/getId' const q = faunadb.query const client = new faunadb.Client({ - secret: process.env.FAUNADB_SECRET + secret: process.env.FAUNADB_SERVER_SECRET }) exports.handler = (event, context, callback) => {