Style
This commit is contained in:
parent
f182f0f6bd
commit
4d6e22bb9b
|
@ -248,8 +248,12 @@ def insert_log(%{
|
||||||
|> insert_log_entry_with_message()
|
|> insert_log_entry_with_message()
|
||||||
end
|
end
|
||||||
|
|
||||||
@spec insert_log(%{actor: User, action: String.t(), nicknames: [String.t()], tags: [String.t()]}) ::
|
@spec insert_log(%{
|
||||||
{:ok, ModerationLog} | {:error, any}
|
actor: User,
|
||||||
|
action: String.t(),
|
||||||
|
nicknames: [String.t()],
|
||||||
|
tags: [String.t()]
|
||||||
|
}) :: {:ok, ModerationLog} | {:error, any}
|
||||||
def insert_log(%{
|
def insert_log(%{
|
||||||
actor: %User{} = actor,
|
actor: %User{} = actor,
|
||||||
nicknames: nicknames,
|
nicknames: nicknames,
|
||||||
|
|
Loading…
Reference in New Issue