-
Notifications
You must be signed in to change notification settings - Fork 8.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gotify does not enable markdown, cannot configure API or provide custom fields #8433
Comments
Hey @disconn3ct, I can't see markdown mentioned on that page but this sounds like a feature request to me and not a bug. Would you be able to a feature request on the community support forum and we can prioritise adding this based on community feedback. Alternatively if you want to add this feature you can put in a PR for it. Let me know if you have any questions on this. |
Correction. It is listed directly in the node UI. |
Hey @disconn3ct, So it is, In that case I will make sure markdown is working in the morning. This won't include extra fields it will only fix markdown. |
Hey @disconn3ct, I have popped in a PR which will fix the markdown issue, This PR adds a new option that you can set to specify if it is markdown or plain. |
Fix got released with |
Describe the bug
Markdown is listed as enabled here but it does not include the required
extras
data, nor expose a way to do so. More broadly, gotify expects users to use theextras
block for any custom information related to the message but the plugin does not allow it.To Reproduce
Steps to reproduce the behavior:
extras.client::notification.bigImageUrl
)Expected behavior
It should be possible to pass custom fields to the request. By default, the extras field should enable Markdown as indicated by the docs.
Environment (please complete the following information):
own
,main
andqueue
. Default ismain
]Additional context
https://github.com/n8n-io/n8n/blob/master/packages/nodes-base/nodes/Gotify/Gotify.node.ts#L90 defines the fields, and https://github.com/n8n-io/n8n/blob/master/packages/nodes-base/nodes/Gotify/Gotify.node.ts#L178 uses them.
The default additionalFields should include:
The text was updated successfully, but these errors were encountered: