Vendor update
This commit is contained in:
2
vendor/github.com/thehowl/go-osuapi/osubool.go
generated
vendored
2
vendor/github.com/thehowl/go-osuapi/osubool.go
generated
vendored
@@ -9,7 +9,7 @@ type OsuBool bool
|
||||
|
||||
// UnmarshalJSON converts `"0"` to false and `"1"` to true.
|
||||
func (o *OsuBool) UnmarshalJSON(data []byte) error {
|
||||
if string(data) == `"0"` {
|
||||
if string(data) == `0` {
|
||||
*o = false
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user