Skip to content

Commit 2001f03

Browse files
author
Andrew Farries
committed
[content-service] Set ContentType header
Setting '*/*' doesn't work - it needs to be explict about the exact type of content that that the signed URL will receive.
1 parent f6b5417 commit 2001f03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/content-service/pkg/service/usagereport-service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func (us *UsageReportService) UploadURL(ctx context.Context, req *api.UsageRepor
4848
}
4949

5050
info, err := us.s.SignUpload(ctx, us.bucketName, req.Name, &storage.SignedURLOptions{
51-
ContentType: "*/*",
51+
ContentType: "application/json",
5252
})
5353
if err != nil {
5454
log.WithField("name", req.Name).

0 commit comments

Comments
 (0)