Update ApiV1Controller, fix source note

pull/3560/head
Daniel Supernault 3 years ago
parent c32bb55b8a
commit 5254f3921b
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -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…
Cancel
Save