Skip to content

Commit

Permalink
Update ApiV1Controller, fix mute/block entities
Browse files Browse the repository at this point in the history
  • Loading branch information
dansup committed Sep 23, 2022
1 parent 20d9f8b commit 364adb4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/Http/Controllers/Api/ApiV1Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,8 @@ public function accountBlocks(Request $request)
})
->filter(function($account) {
return $account && isset($account['id']);
});
})
->values();

return $this->json($blocked);
}
Expand Down Expand Up @@ -1757,7 +1758,8 @@ public function accountMutes(Request $request)
})
->filter(function($account) {
return $account && isset($account['id']);
});
})
->values();

return $this->json($mutes);
}
Expand Down

0 comments on commit 364adb4

Please sign in to comment.