forked from mirror/pixelfed
Merge pull request #3455 from shleeable/staging-2
Update AdminController.php
This commit is contained in:
commit
732521e954
|
@ -120,7 +120,7 @@ class AdminController extends Controller
|
||||||
public function appsHome(Request $request)
|
public function appsHome(Request $request)
|
||||||
{
|
{
|
||||||
$filter = $request->input('filter');
|
$filter = $request->input('filter');
|
||||||
if(in_array($filter, ['revoked'])) {
|
if($filter == 'revoked') {
|
||||||
$apps = OauthClient::with('user')
|
$apps = OauthClient::with('user')
|
||||||
->whereNotNull('user_id')
|
->whereNotNull('user_id')
|
||||||
->whereRevoked(true)
|
->whereRevoked(true)
|
||||||
|
|
Loading…
Reference in New Issue