cover/Elixir.WalletNotifications.Queries.GetNotification.html

1 defmodule WalletNotifications.Queries.GetNotification do
2 @moduledoc "Retrieves a notification by ID."
3 alias WalletNotifications.NotificationStore
4
5 @spec execute(String.t()) :: {:ok, WalletNotifications.Notification.t()} | {:error, :not_found}
6 2 def execute(notification_id), do: NotificationStore.get(notification_id)
7 end
Line Hits Source