@@ -1,6 +1,6 @@
|
||||
defmodule Mobilizon.Service.ErrorReporting do
|
||||
@moduledoc """
|
||||
Mpdule to load and configure error reporting adapters
|
||||
Module to load and configure error reporting adapters
|
||||
"""
|
||||
|
||||
@callback enabled? :: boolean()
|
||||
|
||||
@@ -30,7 +30,7 @@ defmodule Mobilizon.Service.Export.Participants.Common do
|
||||
@doc """
|
||||
Match a participant role to it's translated version
|
||||
"""
|
||||
@spec translate_role(Mobilizon.Events.ParticipantRole.t()) :: String.t()
|
||||
@spec translate_role(atom()) :: String.t()
|
||||
def translate_role(role) do
|
||||
case role do
|
||||
:not_approved ->
|
||||
|
||||
@@ -93,7 +93,7 @@ defmodule Mobilizon.Service.Notifier.Email do
|
||||
end
|
||||
|
||||
@spec match_group_notifications_setting(
|
||||
NotificationPendingNotificationDelay.t(),
|
||||
non_neg_integer(),
|
||||
String.t(),
|
||||
DateTime.t() | nil,
|
||||
Keyword.t()
|
||||
|
||||
Reference in New Issue
Block a user