chore: apply linter fixes
This commit is contained in:
committed by
Mateusz Filipowicz
parent
685572d5ce
commit
d79f581c1f
4
unifi/setting_radio_ai.generated.go
generated
4
unifi/setting_radio_ai.generated.go
generated
@@ -125,7 +125,7 @@ func (c *Client) getSettingRadioAi(ctx context.Context, site string) (*SettingRa
|
||||
}
|
||||
|
||||
if len(respBody.Data) != 1 {
|
||||
return nil, NotFoundError
|
||||
return nil, ErrNotFound
|
||||
}
|
||||
|
||||
d := respBody.Data[0]
|
||||
@@ -145,7 +145,7 @@ func (c *Client) updateSettingRadioAi(ctx context.Context, site string, d *Setti
|
||||
}
|
||||
|
||||
if len(respBody.Data) != 1 {
|
||||
return nil, NotFoundError
|
||||
return nil, ErrNotFound
|
||||
}
|
||||
|
||||
new := respBody.Data[0]
|
||||
|
||||
Reference in New Issue
Block a user