Skip to content

Commit

Permalink
Temporarily disable creating the version
Browse files Browse the repository at this point in the history
  • Loading branch information
bosschaert committed Dec 4, 2024
1 parent 2811b46 commit 9321cbc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/storage/object/copy.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ export const copyFile = async (config, env, daCtx, sourceKey, details, isRename)
type: original.contentType,
});
}
await postObjectVersionWithLabel('Moved', env, daCtx);
// We're doing a rename

// TODO when storing the version make sure to do it from the file that was where there before
// await postObjectVersionWithLabel('Moved', env, daCtx);

const client = new S3Client(config);
// This is a move so copy to the new location
Expand Down

0 comments on commit 9321cbc

Please sign in to comment.