Skip to content

Commit

Permalink
refactor: update push notification messages
Browse files Browse the repository at this point in the history
  • Loading branch information
trueChazza committed Nov 22, 2023
1 parent 58211d2 commit 2d7bdd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/media_server_web/actions/movie.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule MediaServerWeb.Actions.Movie do
Enum.each(media_action.user.push_subscriptions, fn push_subscription ->
WebPushElixir.send_notification(
push_subscription.push_subscription,
"#{title} is now available"
"#{title} available"
)
end)
end)
Expand Down
2 changes: 1 addition & 1 deletion lib/media_server_web/actions/series.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule MediaServerWeb.Actions.Series do
Enum.each(media_action.user.push_subscriptions, fn push_subscription ->
WebPushElixir.send_notification(
push_subscription.push_subscription,
"#{title} is now available"
"#{title} updated"
)
end)
end)
Expand Down

0 comments on commit 2d7bdd0

Please sign in to comment.