From 8ee6d32f05899b00b007d3ad3abc870d5aaf0b1d Mon Sep 17 00:00:00 2001 From: David Wells Date: Thu, 31 Jan 2019 14:03:05 -0800 Subject: [PATCH] Update todos-read.js --- functions/todos-read.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {