1
0
Fork 0

Update ApiV1Controller, fix mute/block entities

This commit is contained in:
Daniel Supernault 2022-09-23 01:35:42 -06:00
parent 20d9f8b890
commit 364adb4387
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 4 additions and 2 deletions

View File

@ -895,7 +895,8 @@ class ApiV1Controller extends Controller
})
->filter(function($account) {
return $account && isset($account['id']);
});
})
->values();
return $this->json($blocked);
}
@ -1757,7 +1758,8 @@ class ApiV1Controller extends Controller
})
->filter(function($account) {
return $account && isset($account['id']);
});
})
->values();
return $this->json($mutes);
}