1
0
Fork 0
forked from mirror/pixelfed

Merge pull request #3455 from shleeable/staging-2

Update AdminController.php
This commit is contained in:
daniel 2022-05-15 21:37:48 -06:00 committed by GitHub
commit 732521e954
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -120,7 +120,7 @@ class AdminController extends Controller
public function appsHome(Request $request)
{
$filter = $request->input('filter');
if(in_array($filter, ['revoked'])) {
if($filter == 'revoked') {
$apps = OauthClient::with('user')
->whereNotNull('user_id')
->whereRevoked(true)