Skip to content

Commit

Permalink
fix missing Caption on Photo unmarshalling
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnrm authored and demget committed Aug 9, 2024
1 parent 8b69e47 commit af64372
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions media.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ func (p *Photo) UnmarshalJSON(data []byte) error {
p.File = hq.File
p.Width = hq.Width
p.Height = hq.Height
p.Caption = hq.Caption

return nil
}
Expand Down

0 comments on commit af64372

Please sign in to comment.