Fix
This commit is contained in:
parent
31f6c9f9ad
commit
b03b2001ba
2 changed files with 3 additions and 4 deletions
|
@ -57,7 +57,6 @@ defmodule Nulla.Relations.Relation do
|
|||
:blocked_by,
|
||||
:domain_blocking,
|
||||
:requested,
|
||||
:note,
|
||||
:local_actor_id,
|
||||
:remote_actor_id
|
||||
])
|
||||
|
|
|
@ -137,11 +137,11 @@ defmodule NullaWeb.ActivityPub.InboxController do
|
|||
}) do
|
||||
nil ->
|
||||
case Relations.create_relation(%{
|
||||
followed_by: true,
|
||||
local_actor_id: local_actor.id,
|
||||
remote_actor_id: remote_actor.id,
|
||||
followed_by: true
|
||||
remote_actor_id: remote_actor.id
|
||||
}) do
|
||||
{:ok, relation} -> relation
|
||||
{:ok, relation} -> {:ok, relation}
|
||||
{:error, changeset} -> {:error, {:relation_creation_failed, changeset}}
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue