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',
'sensitive' => false,
'language' => $user->language ?? 'en',
'note' => '',
'note' => strip_tags($res['note']),
'fields' => []
];