From 45bef631136334bb899cd2ed2e3c5135334f6438 Mon Sep 17 00:00:00 2001 From: Wade Wegner Date: Sun, 3 May 2020 17:13:35 -0700 Subject: [PATCH] debug --- functions/untappd_callback/untappd_callback.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/functions/untappd_callback/untappd_callback.js b/functions/untappd_callback/untappd_callback.js index 813b5ea..1a53d5d 100644 --- a/functions/untappd_callback/untappd_callback.js +++ b/functions/untappd_callback/untappd_callback.js @@ -22,13 +22,14 @@ exports.handler = async (event, context) => { response_message = error } + + return { + statusCode: 200, + body: JSON.stringify({ message: `${response_message}` }) + } }); - return { - statusCode: 200, - body: JSON.stringify({ message: `${response_message}` }) - } } catch (err) { return { statusCode: 500, body: err.toString() }