upload S3 object (not updated)

This commit is contained in:
kkb0318
2024-04-15 22:05:47 +09:00
parent 993b08a204
commit cf56936288
6 changed files with 132 additions and 108 deletions
@@ -37,7 +37,7 @@ func (s *S3IdPDiscovery) Upload(ctx context.Context, o selfhosted.OIDCIdPDiscove
if err != nil {
return nil
}
err = s.s3Client.PutObjectPublic(ctx,
err = s.s3Client.CreateObjectPublic(ctx,
CONFIGURATION_PATH,
discovery,
)
@@ -50,7 +50,7 @@ func (s *S3IdPDiscovery) Upload(ctx context.Context, o selfhosted.OIDCIdPDiscove
if err != nil {
return nil
}
err = s.s3Client.PutObjectPublic(ctx,
err = s.s3Client.CreateObjectPublic(ctx,
o.JWKsFileName(),
jwk,
)