Missed in last commits.

This commit is contained in:
Patrick Fic
2021-05-06 16:37:21 -07:00
parent a568190ebb
commit b39a6e9e34
3 changed files with 23 additions and 13 deletions

View File

@@ -102,7 +102,13 @@ export function JobsDocumentsGalleryReassign({ bodyshop, galleryImages }) {
const currentKeys = i.key.split("/");
currentKeys[1] = jobid;
currentKeys.join("/");
return { id: i.id, from: i.key, to: currentKeys.join("/") };
return {
id: i.id,
from: i.key,
to: currentKeys.join("/"),
extension: i.extension,
type: i.type,
};
}),
});