Skip to content

Commit

Permalink
ntfy optional url/icon
Browse files Browse the repository at this point in the history
related to #493
  • Loading branch information
MrBrax committed Jan 26, 2024
1 parent abffc39 commit b84a704
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/Core/Notifiers/Ntfy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export default function notify(
url: ntfyUrl,
headers: {
Title: title,
Actions: `view, Open, ${url}`,
Icon: icon,
Actions: url ? `view, Open, ${url}` : undefined,
Icon: icon ?? undefined,
},
data: body,
method: "POST",
Expand Down

0 comments on commit b84a704

Please sign in to comment.