1
0
Fork 1
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:
Daniel Supernault 2022-06-23 01:09:25 -06:00
parent c32bb55b8a
commit 5254f3921b
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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' => []
]; ];