fix: cast ListObjectsV2Command to any to fix type mismatch with @aws-sdk/middleware-endpoint

After bumping aws-sdk packages, @smithy/middleware-endpoint and
@aws-sdk/middleware-endpoint have incompatible EndpointParameterInstructions
types. Since this is already a workaround, casting to any is appropriate.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
This commit is contained in:
Fredrik Adelöw
2026-03-06 12:51:26 +01:00
parent 54a101a895
commit 7a1278bc0b
@@ -179,7 +179,7 @@ export class AwsS3EntityProvider implements EntityProvider {
{
Bucket: bucketName,
},
ListObjectsV2Command,
ListObjectsV2Command as any,
this.s3.config as unknown as Record<string, unknown>,
);
if (endpoint?.url)