Updated wording of apprise notification
This commit is contained in:
parent
a1dcb99657
commit
efecb8843c
2 changed files with 8 additions and 8 deletions
|
|
@ -34,8 +34,8 @@ defmodule Pinchflat.Notifications.SourceNotifications do
|
||||||
|
|
||||||
def send_new_media_notification(servers, source, changed_count) do
|
def send_new_media_notification(servers, source, changed_count) do
|
||||||
opts = [
|
opts = [
|
||||||
title: "[Pinchflat] New media found!",
|
title: "[Pinchflat] New media found",
|
||||||
body: "Found #{changed_count} new media item(s) for #{source.custom_name}. Working on downloading them now!"
|
body: "Found #{changed_count} new media item(s) for #{source.custom_name}. Downloading them now"
|
||||||
]
|
]
|
||||||
|
|
||||||
case backend_runner().run(servers, opts) do
|
case backend_runner().run(servers, opts) do
|
||||||
|
|
|
||||||
|
|
@ -19,8 +19,8 @@ defmodule Pinchflat.Notifications.SourceNotificationsTest do
|
||||||
assert servers == @apprise_servers
|
assert servers == @apprise_servers
|
||||||
|
|
||||||
assert opts == [
|
assert opts == [
|
||||||
title: "[Pinchflat] New media found!",
|
title: "[Pinchflat] New media found",
|
||||||
body: "Found 1 new media item(s) for #{source.custom_name}. Working on downloading them now!"
|
body: "Found 1 new media item(s) for #{source.custom_name}. Downloading them now"
|
||||||
]
|
]
|
||||||
|
|
||||||
{:ok, ""}
|
{:ok, ""}
|
||||||
|
|
@ -38,8 +38,8 @@ defmodule Pinchflat.Notifications.SourceNotificationsTest do
|
||||||
assert servers == @apprise_servers
|
assert servers == @apprise_servers
|
||||||
|
|
||||||
assert opts == [
|
assert opts == [
|
||||||
title: "[Pinchflat] New media found!",
|
title: "[Pinchflat] New media found",
|
||||||
body: "Found 1 new media item(s) for #{source.custom_name}. Working on downloading them now!"
|
body: "Found 1 new media item(s) for #{source.custom_name}. Downloading them now"
|
||||||
]
|
]
|
||||||
|
|
||||||
{:ok, ""}
|
{:ok, ""}
|
||||||
|
|
@ -78,8 +78,8 @@ defmodule Pinchflat.Notifications.SourceNotificationsTest do
|
||||||
assert servers == @apprise_servers
|
assert servers == @apprise_servers
|
||||||
|
|
||||||
assert opts == [
|
assert opts == [
|
||||||
title: "[Pinchflat] New media found!",
|
title: "[Pinchflat] New media found",
|
||||||
body: "Found 1 new media item(s) for #{source.custom_name}. Working on downloading them now!"
|
body: "Found 1 new media item(s) for #{source.custom_name}. Downloading them now"
|
||||||
]
|
]
|
||||||
|
|
||||||
{:ok, ""}
|
{:ok, ""}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue