Skip to content

Commit

Permalink
Update uploadFiletoS3.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nxglabs authored Dec 4, 2024
1 parent 2237358 commit 7ef22eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/OpenSignServer/cloud/parsefunction/uploadFiletoS3.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ async function uploadFileToS3(buffer, fileName, mimeType, adapter) {
client = new S3Client({
region: adapter?.region,
credentials: { accessKeyId: adapter?.accessKeyId, secretAccessKey: adapter?.secretAccessKey },
signatureVersion: "v4"
});
}
const prefixId = crypto.randomBytes(16).toString('hex');
Expand Down

0 comments on commit 7ef22eb

Please sign in to comment.