Coder Social home page Coder Social logo

mmm-webhookalerts's People

Contributors

intecforbusiness avatar pjtewkesbury avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mmm-webhookalerts's Issues

Undefined error, no webhook available

Hi there, I am running MMM in a docker. I have installed the module and added the template code to config.js.
The page loads with error UNDEFINED at the top of the page and the webhooks do not respond. All other modules load fine.
Is there part missing in the documentation that I need to resolve?

Logs:
[02.06.2022 13:23.15.552] [LOG] [2022-06-02 13:23:15] [MMM-WebHookAlert] Socket Notification recevied : START
[02.06.2022 13:23.15.552] [LOG] [2022-06-02 13:23:15] [MMM-WebHookAlert] Config at start [object Object]

Code
{
module: 'MMM-WebHookAlerts',
position: 'fullscreen_above',
config: {
fadeSpeed: 30,
displaySeconds:90,
templates:
[
{
templateName: "AzureDevOps",
template: "

{{resource.definition.project.name}}


{{message.text}}
",
},
{
templateName: "SimpleAlert",
template: "
{{message}}
",
title : "{{Title}}",
displaySeconds:10,
fadeSpeed:10,
}
]
}
}

template function not working

Hi there. When using the template field, the content between the quotes gets inserted as the message. See image below. No variation on the information provided in the documentation is able to change this. Is it no longer working?
I have tested using various template designs, but only the {{message}} content works anymore.

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.