Skip to content

Commit

Permalink
Dont omit boolean values if empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
hwrdprkns committed Feb 5, 2024
1 parent 3e80cf5 commit 8c90448
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions images_variants.go
Expand Up @@ -10,7 +10,7 @@ import (

type ImagesVariant struct {
ID string `json:"id,omitempty"`
NeverRequireSignedURLs bool `json:"neverRequireSignedURLs,omitempty"`
NeverRequireSignedURLs bool `json:"neverRequireSignedURLs"`
Options ImagesVariantsOptions `json:"options,omitempty"`
}

Expand Down Expand Up @@ -38,7 +38,7 @@ type CreateImagesVariantParams struct {

type UpdateImagesVariantParams struct {
ID string `json:"-"`
NeverRequireSignedURLs bool `json:"neverRequireSignedURLs,omitempty"`
NeverRequireSignedURLs bool `json:"neverRequireSignedURLs"`
Options ImagesVariantsOptions `json:"options,omitempty"`
}

Expand Down

0 comments on commit 8c90448

Please sign in to comment.