Stop consoling full responses.
This commit is contained in:
parent
86f6ff352a
commit
e4eb0cc544
@ -91,8 +91,6 @@ app.post('/', async (req, res, next) => {
|
|||||||
const response = await fetch(endpoint, payload)
|
const response = await fetch(endpoint, payload)
|
||||||
.then(res => res.json());
|
.then(res => res.json());
|
||||||
|
|
||||||
console.log(response);
|
|
||||||
|
|
||||||
if (!response.ok) console.log(response);
|
if (!response.ok) console.log(response);
|
||||||
if (response.ok) console.log('\non '+moment().format('dddd, MMMM Do YYYY, h:mma').toLowerCase()+' a card was drawn from Slack');
|
if (response.ok) console.log('\non '+moment().format('dddd, MMMM Do YYYY, h:mma').toLowerCase()+' a card was drawn from Slack');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user