Skip to content

Template not working (seems to break the plugin) #19

@Proryanator

Description

@Proryanator

I love this plugin, and I wanted to customize what would come to my ntfy notification via the config file. I tried this based on the README and it stopped ntfy from happening at all:

{
   "backend": {
      "topic": "topic-name",
      "title": {
         "session.idle": { "value": "{project}: Done" },
         "session.error": { "value": "{project}: Error" },
         "session.ask": { "value": "{project}: Permission Required" }
        },
      "message": {
         "session.error": { "value": "{project}: Error occurred: {error}" },
         "session.idle": { "value": "{project}: Task is done" },
          "session.ask": { "value": "{project}: Agent needs your permission to proceed" }
       }
}

It does work with a simpler one though:

{
   "backend": {
      "topic": "topic-name"
   }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions