mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +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,
|
'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