1
0
Fork 0
mirror of https://github.com/Luzifer/twitch-bot.git synced 2025-03-21 22:21:54 +00:00

[core] Lint: Fix linter complaining about complex function

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-02-26 17:19:13 +01:00
parent 7dfbb8caac
commit 3c36bbf546
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -726,6 +726,7 @@ func (c *Client) getTwitchAppAccessToken() (string, error) {
return rData.AccessToken, nil
}
//nolint: gocognit,gocyclo // Not gonna split to keep as a logical unit
func (c *Client) request(opts clientRequestOpts) error {
log.WithFields(log.Fields{
"method": opts.Method,