Skip to content

Commit

Permalink
chore(react-storage): address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanZhengYP committed Nov 7, 2024
1 parent 4cb4d8e commit a1d34d3
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ import {

import { constructBucket } from './utils';

const CHECKSUM_ALGORITHM_CRC32 = 'crc-32' as const;

export interface UploadHandlerOptions extends TaskHandlerOptions {
preventOverwrite?: boolean;
}
Expand Down Expand Up @@ -69,7 +67,7 @@ export const uploadHandler: UploadHandler = ({
},
preventOverwrite,
customEndpoint,
checksumAlgorithm: CHECKSUM_ALGORITHM_CRC32,
checksumAlgorithm: 'crc-32',
},
};

Expand Down

0 comments on commit a1d34d3

Please sign in to comment.