Fix build error

This commit is contained in:
Bjørn Erik Pedersen 2024-01-31 13:00:56 +01:00
parent 51615440bf
commit 34d63c8d1c
No known key found for this signature in database

View file

@ -38,7 +38,6 @@ func (c NullBoolJSONMarshaller) MarshalJSON() ([]byte, error) {
if err != nil {
return nil, err
}
i := bytes.Index(b, []byte("enableDefault"))
return nullEnableBoolRegex.ReplaceAll(b, []byte(`"$1": false`)), nil
}