Skip to content

Commit

Permalink
fix: Handle AWS S3 Re-Authentication via s3.getSignedUrlPromise (#30642)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmagedman authored and debdutdeb committed Oct 26, 2023
1 parent 91b0dc1 commit 8a9df08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/meteor/app/file-upload/ufs/AmazonS3/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class AmazonS3Store extends UploadFS.Store {
ResponseContentDisposition: `${forceDownload ? 'attachment' : 'inline'}; filename="${encodeURI(file.name || '')}"`,
};

return s3.getSignedUrl('getObject', params);
return s3.getSignedUrlPromise('getObject', params);
};

/**
Expand Down

0 comments on commit 8a9df08

Please sign in to comment.