Skip to content

Commit

Permalink
Fix last notified in subscriptions when sending emails (#597)
Browse files Browse the repository at this point in the history
  • Loading branch information
skanderm authored Aug 20, 2024
1 parent 5cc30c8 commit 12a1b40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ defmodule Orcasite.Notifications.Workers.SendNotificationEmail do
|> Orcasite.Mailer.deliver()

subscription
|> Subscription.update_last_notification(notification_id)
|> Subscription.update_last_notification(notification_id, authorize?: false)

Task.Supervisor.async_nolink(Orcasite.TaskSupervisor, fn ->
NotificationInstance
Expand Down

0 comments on commit 12a1b40

Please sign in to comment.