mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 16:24:29 +00:00
Update InstanceApiController.php
This commit is contained in:
parent
b00ab32413
commit
0fabac50e3
1 changed files with 1 additions and 2 deletions
|
@ -19,7 +19,6 @@ class InstanceApiController extends Controller {
|
||||||
'acct' => $admin->username,
|
'acct' => $admin->username,
|
||||||
'display_name' => e($admin->name),
|
'display_name' => e($admin->name),
|
||||||
'locked' => (bool) $admin->is_private,
|
'locked' => (bool) $admin->is_private,
|
||||||
'bot' => false,
|
|
||||||
'created_at' => $admin->created_at->format('c'),
|
'created_at' => $admin->created_at->format('c'),
|
||||||
'note' => e($admin->bio),
|
'note' => e($admin->bio),
|
||||||
'url' => $admin->url(),
|
'url' => $admin->url(),
|
||||||
|
@ -63,4 +62,4 @@ class InstanceApiController extends Controller {
|
||||||
return response($res)->header('Content-Type', 'application/json');
|
return response($res)->header('Content-Type', 'application/json');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue