mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-20 11:51:17 +00:00
Lint: Fix error caused by stupid linter
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
60abc308fb
commit
9d1ede2b1e
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ func handleStatusRequest(w http.ResponseWriter, r *http.Request) {
|
|||
{
|
||||
Name: "Twitch Client Authorized",
|
||||
Description: "Twitch Client is authorized and can fetch authorized user",
|
||||
//nolint:contextcheck // Check is too stupid to see the context IS passed
|
||||
checkFn: func() error {
|
||||
if twitchClient == nil {
|
||||
return errors.New("not initialized")
|
||||
|
|
Loading…
Reference in a new issue