zoho cliq code style

This commit is contained in:
panos 2022-12-08 13:56:02 +02:00
parent 851a04b082
commit 9da28fbbc7

View file

@ -26,8 +26,8 @@ class ZohoCliq extends NotificationProvider {
* @param {string} webhookUrl URL to send the request to
* @param {Array} payload Payload generated by _notificationPayloadFactory
*/
_sendNotification = async(webhookUrl, payload) => {
await axios.post(webhookUrl, {text: payload.join("\n")});
_sendNotification = async (webhookUrl, payload) => {
await axios.post(webhookUrl, { text: payload.join("\n") });
};
/**
@ -107,7 +107,7 @@ class ZohoCliq extends NotificationProvider {
await this._sendNotification(notification.webhookUrl, payload);
return okMsg;
} catch(error) {
} catch (error) {
this.throwGeneralAxiosError(error);
}
}