Commit 1182d0fd69d1ba5fde9d0d1f29278132bf2174e6

Authored by Adhidarma Hadiwinoto
1 parent e7bcc28f49
Exists in master

Perbaikan url webhook

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

lib/webhook-sender.js
... ... @@ -67,7 +67,7 @@ const sender = async (xid, webhookType, body, retry) => {
67 67 request_id: body.request_id,
68 68 });
69 69  
70   - await axios.post(config.listener.partner.webhook, {
  70 + await axios.post(config.webhook.url, {
71 71 webhookType,
72 72 body,
73 73 });
... ... @@ -77,7 +77,7 @@ const sender = async (xid, webhookType, body, retry) => {
77 77 logger.verbose(`${MODULE_NAME} 50BE8D98: Webhook sent`, {
78 78 xid,
79 79 webhookType,
80   - partner: config.listener.partner.webhook,
  80 + partner: config.webhook.url,
81 81 });
82 82 } catch (e) {
83 83 logger.warn(`${MODULE_NAME} ECC37ECA: Exception on calling webhook`, {