diff --git a/functions/todos-read-all.js b/functions/todos-read-all.js index 05e81a8..70463c0 100644 --- a/functions/todos-read-all.js +++ b/functions/todos-read-all.js @@ -2,7 +2,7 @@ import faunadb from 'faunadb' 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) => {