Skip to content
Snippets Groups Projects
Commit 4c179c67 authored by Guillaume Heurtier's avatar Guillaume Heurtier
Browse files

FEAT #13120 TIME 0:05 added recipients in get light resource

parent dcebf703
No related branches found
No related tags found
No related merge requests found
......@@ -198,7 +198,7 @@ class ResController extends ResourceControlController
'data' => [$args['resId'], 'sender']
]);
}
if (in_array('recipients', $modelFields) && empty($queryParams['light'])) {
if (in_array('recipients', $modelFields)) {
$formattedData['recipients'] = ResourceContactModel::get([
'select' => ['item_id as id', 'type'],
'where' => ['res_id = ?', 'mode = ?'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment