Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 973d3d6

Browse files
committed
Make R2Object#version a hex string
1 parent d8f7b74 commit 973d3d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tre/src/plugins/r2/r2Object.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export interface EncodedMetadata {
4444
}
4545

4646
export function createVersion(): string {
47-
return crypto.randomBytes(24).toString("base64");
47+
return crypto.randomBytes(16).toString("hex");
4848
}
4949

5050
/**

0 commit comments

Comments
 (0)