From 15b87bbd7c1839fdf158206eb114c5ee8689cb4d Mon Sep 17 00:00:00 2001 From: Luk Date: Mon, 5 Feb 2024 11:37:07 +0800 Subject: [PATCH] u --- messenger.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/messenger.js b/messenger.js index 91a8736..1740207 100644 --- a/messenger.js +++ b/messenger.js @@ -31,14 +31,14 @@ module.exports = { } */ if (result.messageId && result.response === '250 Ok') { - console.log({ _at: new Date().toJSON(), _state: 'MSG_SENT_SUCCESS', ...result }) + console.log({ _at: new Date().toJSON(), _state: 'MSG_SENT_SUCCESS', ...result }, '\n,') return { _state: 'MSG_SENT_SUCCESS' } } - console.log({ _at: new Date().toJSON(), _state: 'MSG_SEND_FAIL', ...result }) + console.log({ _at: new Date().toJSON(), _state: 'MSG_SEND_FAIL', ...result }, '\n,') return { _state: 'MSG_SEND_FAIL' } }) .catch((error) => { - console.log({ _at: new Date().toJSON(), _state: 'SMS_SEND_ERROR', error }) + console.log({ _at: new Date().toJSON(), _state: 'SMS_SEND_ERROR', error }, '\n,') return { _state: 'SMS_SEND_ERROR' } }) },