Updated wording of apprise notification

This commit is contained in:
Kieran Eglin 2024-04-08 15:22:12 -07:00
parent a1dcb99657
commit efecb8843c
No known key found for this signature in database
GPG key ID: 193984967FCF432D
2 changed files with 8 additions and 8 deletions

View file

@ -34,8 +34,8 @@ defmodule Pinchflat.Notifications.SourceNotifications do
def send_new_media_notification(servers, source, changed_count) do
opts = [
title: "[Pinchflat] New media found!",
body: "Found #{changed_count} new media item(s) for #{source.custom_name}. Working on downloading them now!"
title: "[Pinchflat] New media found",
body: "Found #{changed_count} new media item(s) for #{source.custom_name}. Downloading them now"
]
case backend_runner().run(servers, opts) do

View file

@ -19,8 +19,8 @@ defmodule Pinchflat.Notifications.SourceNotificationsTest do
assert servers == @apprise_servers
assert opts == [
title: "[Pinchflat] New media found!",
body: "Found 1 new media item(s) for #{source.custom_name}. Working on downloading them now!"
title: "[Pinchflat] New media found",
body: "Found 1 new media item(s) for #{source.custom_name}. Downloading them now"
]
{:ok, ""}
@ -38,8 +38,8 @@ defmodule Pinchflat.Notifications.SourceNotificationsTest do
assert servers == @apprise_servers
assert opts == [
title: "[Pinchflat] New media found!",
body: "Found 1 new media item(s) for #{source.custom_name}. Working on downloading them now!"
title: "[Pinchflat] New media found",
body: "Found 1 new media item(s) for #{source.custom_name}. Downloading them now"
]
{:ok, ""}
@ -78,8 +78,8 @@ defmodule Pinchflat.Notifications.SourceNotificationsTest do
assert servers == @apprise_servers
assert opts == [
title: "[Pinchflat] New media found!",
body: "Found 1 new media item(s) for #{source.custom_name}. Working on downloading them now!"
title: "[Pinchflat] New media found",
body: "Found 1 new media item(s) for #{source.custom_name}. Downloading them now"
]
{:ok, ""}