Skip to content

Commit

Permalink
Change GetRecordAttachment to not use explicit content type
Browse files Browse the repository at this point in the history
This is not required since the endpoint responds with the blob in any case.
  • Loading branch information
fabiante committed Feb 2, 2024
1 parent 824212a commit ba1a4c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r_get_record_attachment.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
//
// This returns the number of bytes written and an error if any.
func (c *StoreClient) GetRecordAttachment(ctx context.Context, writer io.Writer, recordID, attachmentID uuid.UUID) (int64, error) {
req, err := c.newRequestJSON(ctx)
req, err := newRequest(ctx, c.c, "")
if err != nil {
return 0, err
}
Expand Down

0 comments on commit ba1a4c0

Please sign in to comment.