Skip to content

Commit

Permalink
fix: image upload petId not required
Browse files Browse the repository at this point in the history
  • Loading branch information
bookpanda committed Jan 29, 2024
1 parent 750b722 commit ff4f68a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/dto/image.dto.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type ImageResponse struct {
type UploadImageRequest struct {
Filename string `json:"filename" validate:"required"`
Data []byte `json:"data" validate:"required"`
PetId string `json:"pet_id" validate:"required"`
PetId string `json:"pet_id"`
}

type DeleteImageResponse struct {
Expand Down

0 comments on commit ff4f68a

Please sign in to comment.