Skip to content
Snippets Groups Projects
Verified Commit 34f1d09f authored by Alexander Strizhakov's avatar Alexander Strizhakov
Browse files

spec fix

parent ba87ed73
No related branches found
No related tags found
No related merge requests found
......@@ -613,7 +613,7 @@ defp do_block(blocker, blocked, activity_id, local) do
end
@spec unblock(User.t(), User.t(), String.t() | nil, boolean()) ::
{:ok, Activity.t()} | {:error, any()}
{:ok, Activity.t()} | {:error, any()} | nil
def unblock(blocker, blocked, activity_id \\ nil, local \\ true) do
with {:ok, result} <-
Repo.transaction(fn -> do_unblock(blocker, blocked, activity_id, local) end) do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment