15027: Fixes collection update requests to only send what's being updated.
[arvados-workbench2.git] / src / services / collection-files-service / collection-files-service.ts
index 9cda22b2961c2700f841b00bb7c669c400406780..3a2094066e4107022eb7a1a27f06eb976b8c5cba 100644 (file)
@@ -40,8 +40,7 @@ export class CollectionFilesService {
                 : stream
         );
         const manifestText = stringifyKeepManifest(updatedManifest);
-        const data = { ...collection, manifestText };
-        return this.collectionService.update(collectionUuid, CommonResourceService.mapKeys(_.snakeCase)(data));
+        return this.collectionService.update(collectionUuid, { manifestText });
     }
 
     async deleteFile(collectionUuid: string, file: { name: string, path: string }) {