mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-06-23 16:47:37 -07:00
🤖 Auto commit for release 'develop' on 2026-04-18
This commit is contained in:
@@ -120,12 +120,13 @@ final class OAuthController extends Controller
|
||||
{
|
||||
// Retrieving all the OAuth app clients that belong to the user...
|
||||
$clients = auth()->user()->oauthApps()->where('revoked', false)->get();
|
||||
$array = [];
|
||||
$array = [];
|
||||
|
||||
/** @var Client $client */
|
||||
foreach($clients as $client) {
|
||||
$item = $client->toArray();
|
||||
foreach ($clients as $client) {
|
||||
$item = $client->toArray();
|
||||
$item['confidential'] = $client->confidential();
|
||||
$array[] = $item;
|
||||
$array[] = $item;
|
||||
}
|
||||
|
||||
return response()->json($array);
|
||||
|
||||
Reference in New Issue
Block a user