1
0
Fork 1
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:
daniel 2020-02-22 21:05:24 -07:00 committed by GitHub
commit 2bf9f74fcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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');
}
}
}