Update todos-update.js

This commit is contained in:
David Wells 2019-01-31 14:03:12 -08:00 committed by GitHub
parent 8ee6d32f05
commit b8197dad6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) => {