Skip to content

Commit

Permalink
fix(SUP-16380): remove user and creator ID (#3945)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrenMe authored Nov 29, 2018
1 parent 61a7120 commit e400eec
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modules/KalturaSupport/EntryResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,16 @@ function getEntryResultFromApi()
$filter->idEqual = $this->request->getEntryId();
}

$responseProfile = array(
"type" => 2,
"fields" => "userId,creatorId"
);

if ($this->request->isEmbedServicesEnabled() && $this->request->isEmbedServicesRequest()) {
$filter->freeText = urlencode(json_encode($this->request->getEmbedServicesRequest()));
}

$baseEntryIdx = $namedMultiRequest->addNamedRequest('meta', 'baseEntry', 'list', array('filter' => $filter));
$baseEntryIdx = $namedMultiRequest->addNamedRequest('meta', 'baseEntry', 'list', array('filter' => $filter, 'responseProfile' => $responseProfile));
// Get entryId from the baseEntry request response
$entryId = '{' . $baseEntryIdx . ':result:objects:0:id}';

Expand Down

0 comments on commit e400eec

Please sign in to comment.