Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Use mime from database rather than S3
Browse files Browse the repository at this point in the history
  • Loading branch information
tnix100 authored Oct 11, 2024
1 parent 1b3dc6f commit e494eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grpc_uploads.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (s grpcUploadsServer) ClaimFile(ctx context.Context, req *pb.ClaimFileReq)
// Return file details
return &pb.ClaimFileResp{
Id: f.Id,
Mime: objInfo.ContentType,
Mime: f.Mime,
Filename: f.Filename,
Size: objInfo.Size,
Width: int32(f.Width),
Expand Down

0 comments on commit e494eb8

Please sign in to comment.