From e96b3a1ae6c0cd6cac8432d913cd544250503832 Mon Sep 17 00:00:00 2001 From: Marco Ciampini Date: Tue, 14 Jul 2020 12:44:41 +0200 Subject: [PATCH] GH-54 log Sanity op results in lambda function --- functions/submission-created.js | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/submission-created.js b/functions/submission-created.js index cc8d3f0..eb51873 100644 --- a/functions/submission-created.js +++ b/functions/submission-created.js @@ -195,6 +195,7 @@ exports.handler = async (event) => { .setIfMissing({ reviews: [] }) .append('reviews', [parseInt(ratingAsString, 10)]) .commit(); + console.log('Reviews updated', result); await fetch(SLACK_WEBHOOK_URL, { headers: {