forked from AkkomaGang/akkoma
Style
This commit is contained in:
parent
f182f0f6bd
commit
4d6e22bb9b
1 changed files with 6 additions and 2 deletions
|
@ -248,8 +248,12 @@ def insert_log(%{
|
|||
|> insert_log_entry_with_message()
|
||||
end
|
||||
|
||||
@spec insert_log(%{actor: User, action: String.t(), nicknames: [String.t()], tags: [String.t()]}) ::
|
||||
{:ok, ModerationLog} | {:error, any}
|
||||
@spec insert_log(%{
|
||||
actor: User,
|
||||
action: String.t(),
|
||||
nicknames: [String.t()],
|
||||
tags: [String.t()]
|
||||
}) :: {:ok, ModerationLog} | {:error, any}
|
||||
def insert_log(%{
|
||||
actor: %User{} = actor,
|
||||
nicknames: nicknames,
|
||||
|
|
Loading…
Reference in a new issue