Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaspence committed Aug 10, 2022
1 parent 1ac863d commit 830972a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unifi/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (e *booleanishString) UnmarshalJSON(b []byte) error {
}

func (e *booleanishString) MarshalJSON(b []byte) ([]byte, error) {
if *e == true {
if *e {
return []byte(`"enabled"`), nil
}
return []byte(`"disabled"`), nil
Expand Down

0 comments on commit 830972a

Please sign in to comment.