From 4f616b21a1eed10853c14021ea7b3284cfbc3277 Mon Sep 17 00:00:00 2001 From: davidwells Date: Mon, 11 Jun 2018 16:46:18 -0700 Subject: [PATCH] debug context --- functions/todos-read-one.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions/todos-read-one.js b/functions/todos-read-one.js index 7334453..409f8ab 100644 --- a/functions/todos-read-one.js +++ b/functions/todos-read-one.js @@ -8,6 +8,8 @@ const client = new faunadb.Client({ }); exports.handler = (event, context, callback) => { + console.log('event', event) + console.log('context', context) console.log(`readOne todo ${event.pathParameters.id}`); return client.query(q.Get(q.Ref("classes/todos/"+event.pathParameters.id))) .then((response) => {