Set mediaProxy objects as uploaded @ implementation

This commit is contained in:
Cássio Zen
2016-07-19 19:42:37 -03:00
parent 483fdb2643
commit 9f220181b3
4 changed files with 10 additions and 21 deletions

View File

@ -79,13 +79,7 @@ class Backend {
collection.get('label') + ' “' +
entryDraft.getIn(['entry', 'data', 'title']) + '”';
return this.implementation.persistEntry(collection, entryObj, MediaFiles, { commitMessage })
.then(
(response) => ({
persistedEntry: this.entryWithFormat(collection)(response.persistedEntry),
persistedMediaFiles:response.persistedMediaFiles
})
);
return this.implementation.persistEntry(collection, entryObj, MediaFiles, { commitMessage });
}
entryToRaw(collection, entry) {