Skip to content

Params (or pairs) on post_notification_json endpoint #52

@rodrigoic23

Description

@rodrigoic23

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions