Skip to content

Commit 1f23dca

Browse files
Andrew Farriesroboquat
Andrew Farries
authored andcommitted
[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 2b02950 commit 1f23dca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/content-service/pkg/service/usage-report-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)