Skip to content

Commit

Permalink
Merge branch 'master' of github.com:deepkit/deepkit-framework
Browse files Browse the repository at this point in the history
  • Loading branch information
marcj committed Oct 21, 2023
2 parents 041e84e + dd08c77 commit 1eb59d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/filesystem-aws-s3/src/s3-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
PutObjectCommand,
S3Client,
S3ClientConfigType,
ObjectCannedACL
} from '@aws-sdk/client-s3';
import { normalizePath } from 'typedoc';

Expand Down Expand Up @@ -76,7 +77,7 @@ export class FilesystemAwsS3Adapter implements FilesystemAdapter {
return `https://${this.options.bucket}.s3.${this.options.region}.amazonaws.com/${this.getRemotePath(path)}`;
}

protected visibilityToAcl(visibility: FileVisibility): string {
protected visibilityToAcl(visibility: FileVisibility): ObjectCannedACL {
if (visibility === 'public') return 'public-read';
return 'private';
}
Expand Down

0 comments on commit 1eb59d6

Please sign in to comment.