1
0
Fork 1
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:
Shlee 2020-02-22 21:47:49 +08:00 committed by GitHub
parent b00ab32413
commit 0fabac50e3
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, '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');
} }
} }