Commit a394b86d authored by Alexander Strizhakov's avatar Alexander Strizhakov

spec fix

parent cbc16c54
Pipeline #21876 passed with stages
in 8 minutes and 8 seconds
......@@ -612,7 +612,7 @@ defp do_block(blocker, blocked, activity_id, local) do
@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
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment