mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Return base_id in API & remove unneeded conversions
Signed-off-by: Benoît Burnichon <bburnichon@alchemy.fr> Missing changes for stories.
This commit is contained in:

committed by
Benoît Burnichon

parent
d1f537efae
commit
0e5e7f08fa
@@ -1299,7 +1299,8 @@ class V1Controller extends Controller
|
||||
'story_id' => $story->getRecordId(),
|
||||
'updated_on' => $story->getUpdated()->format(DATE_ATOM),
|
||||
'created_on' => $story->getCreated()->format(DATE_ATOM),
|
||||
'collection_id' => \phrasea::collFromBas($this->app, $story->getBaseId()),
|
||||
'collection_id' => $story->getCollectionId(),
|
||||
'base_id' => $story->getBaseId(),
|
||||
'thumbnail' => $this->listEmbeddableMedia($request, $story, $story->get_thumbnail()),
|
||||
'uuid' => $story->getUuid(),
|
||||
'metadatas' => [
|
||||
|
Reference in New Issue
Block a user