diff --git a/functions/todos-update.js b/functions/todos-update.js index 76486fc..8d73eaf 100644 --- a/functions/todos-update.js +++ b/functions/todos-update.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) => {