From 36e12d4a7945cb7831772331fe89d5c45f5499fa Mon Sep 17 00:00:00 2001 From: David Wells Date: Thu, 31 Jan 2019 14:02:16 -0800 Subject: [PATCH] Update todos-create.js --- functions/todos-create.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */