We can now like and dislike

This commit is contained in:
Michael 2018-09-23 08:52:07 +00:00
parent a56565fa99
commit 6df6d82427
4 changed files with 52 additions and 34 deletions

View file

@ -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();