mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 08:14:25 +02:00
API: Fix relationships
This commit is contained in:
parent
78dab01696
commit
f001f52e39
13 changed files with 121 additions and 85 deletions
|
@ -42,6 +42,6 @@ class Unblock extends BaseApi
|
|||
|
||||
Contact\User::setBlocked($parameters['id'], $uid, false);
|
||||
|
||||
System::jsonExit(DI::mstdnRelationship()->createFromPublicContactId($parameters['id'], $uid)->toArray());
|
||||
System::jsonExit(DI::mstdnRelationship()->createFromContactId($parameters['id'], $uid)->toArray());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue