NovuN
Novu3y ago
4 replies
Lionel Mandine

Wrong encoding with notifications templates

Hi,
here is my code :
const { Novu } = require('@novu/node')

const notifClient = new Novu('2a9ce65fc171f903b17e4706ebcf0332')

const templates = async () => {
    return await notifClient.notificationTemplates.getAll()
}

const notifTemplates = templates().then(res => {
    console.log(res.data)
})

and here is the log from the code :
image.png
Was this page helpful?