Hi! I was using this library and it's great.
I'm sending notifications like this
const notifications = await usuarios.map(u => {
return {
login_id: u.id,
title: notificacion.titulo,
content: notificacion.mensaje,
screen: 'home'
}
})
enviado = http.post('/post_notification_json', JSON.stringify({ events: notifications }))
.then(() => true)
.catch((err) => {
logger.info('No se pudo enviar la notificacion: ' + err.message)
return false
})
The question is, is there any way to add custom params, like 'pairs' param on post_events_json endpoint?
Thank you so much