Update AdminController.php

This commit is contained in:
Shlee 2022-05-14 19:27:04 +09:30
parent 8f9d36bd3d
commit d0c44757e7

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)