Skip to content

Commit

Permalink
CDI-468: fix error with null value
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-sharonov committed Mar 11, 2024
1 parent 3da49d3 commit ed8dd81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions originshielding/originshielding.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ type OriginShieldingService interface {
}

type OriginShieldingData struct {
ShieldingPop int `json:"shielding_pop"`
ShieldingPop *int `json:"shielding_pop"`
}

type UpdateRequest struct {
ShieldingPop int `json:"shielding_pop"`
ShieldingPop *int `json:"shielding_pop"`
}

type OriginShieldingLocations struct {
Expand Down

0 comments on commit ed8dd81

Please sign in to comment.