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:
parent
7dfbb8caac
commit
3c36bbf546
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue