defmodule Ello.Events.MarkNotificationsAsRead do
  use Ello.Events.Sidekiq

  defstruct [
    user_id: nil,
    last_notification_time: 0,
  ]

  def args(map) do
    [
      Map.from_struct(map),
    ]
  end
end

defmodule Ello.Events.MarkNotificationsAsRead do
  use Ello.Events.Sidekiq

  defstruct [
    user_id: nil,
    last_notification_time: 0,
  ]

  def args(struct) do
    [
      user: struct.user_id,
      last_notification_time: struct.last_notification_time,
    ]
  end
end

Fix mark notifications as read.
Fix mark notifications as read.

ello/apex,ello/apex,ello/apex