mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-27 18:26:50 +00:00
Update ApiV1Controller, fix source note
This commit is contained in:
parent
c32bb55b8a
commit
5254f3921b
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ class ApiV1Controller extends Controller
|
||||||
'privacy' => $res['locked'] ? 'private' : 'public',
|
'privacy' => $res['locked'] ? 'private' : 'public',
|
||||||
'sensitive' => false,
|
'sensitive' => false,
|
||||||
'language' => $user->language ?? 'en',
|
'language' => $user->language ?? 'en',
|
||||||
'note' => '',
|
'note' => strip_tags($res['note']),
|
||||||
'fields' => []
|
'fields' => []
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue