Skip to content

Commit

Permalink
Fix last notified in subscriptions when sending emails
Browse files Browse the repository at this point in the history
  • Loading branch information
skanderm committed Aug 20, 2024
1 parent 5cc30c8 commit 303d17a
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 303d17a

Please sign in to comment.