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