mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-10 17:14:26 +02:00
We can now like and dislike
This commit is contained in:
parent
a56565fa99
commit
6df6d82427
4 changed files with 52 additions and 34 deletions
|
@ -52,7 +52,7 @@ function profile_init(App $a)
|
|||
|
||||
if (ActivityPub::isRequest()) {
|
||||
$user = DBA::selectFirst('user', ['uid'], ['nickname' => $which]);
|
||||
if (DBM::isResult($user)) {
|
||||
if (DBA::isResult($user)) {
|
||||
$data = ActivityPub::profile($user['uid']);
|
||||
echo json_encode($data);
|
||||
exit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue