|
|
@ -132,6 +132,8 @@ export const actionHandlers = handleThunks({
|
|
|
|
const updatedItem = _.cloneDeep(data);
|
|
|
|
const updatedItem = _.cloneDeep(data);
|
|
|
|
updatedItem.internalId = updatedItem.id;
|
|
|
|
updatedItem.internalId = updatedItem.id;
|
|
|
|
updatedItem.id = updatedItem.tmdbId;
|
|
|
|
updatedItem.id = updatedItem.tmdbId;
|
|
|
|
|
|
|
|
delete updatedItem.images;
|
|
|
|
|
|
|
|
|
|
|
|
const actions = [
|
|
|
|
const actions = [
|
|
|
|
updateItem({ section: 'movies', ...data }),
|
|
|
|
updateItem({ section: 'movies', ...data }),
|
|
|
|
updateItem({ section: 'addMovie', ...updatedItem }),
|
|
|
|
updateItem({ section: 'addMovie', ...updatedItem }),
|
|
|
|