chore: apply linter fixes

This commit is contained in:
Mateusz Filipowicz
2025-02-09 01:42:44 +01:00
committed by Mateusz Filipowicz
parent 685572d5ce
commit d79f581c1f
81 changed files with 259 additions and 247 deletions

View File

@@ -82,7 +82,7 @@ func (c *Client) getSettingDoh(ctx context.Context, site string) (*SettingDoh, e
}
if len(respBody.Data) != 1 {
return nil, NotFoundError
return nil, ErrNotFound
}
d := respBody.Data[0]
@@ -102,7 +102,7 @@ func (c *Client) updateSettingDoh(ctx context.Context, site string, d *SettingDo
}
if len(respBody.Data) != 1 {
return nil, NotFoundError
return nil, ErrNotFound
}
new := respBody.Data[0]