diff options
author | 2024-08-05 19:17:24 -0700 | |
---|---|---|
committer | 2024-08-05 19:17:24 -0700 | |
commit | 63e70075365bbfaeb7cd91572f881c2114307dfd (patch) | |
tree | 115cbca886240a118eaea7150892a57f08d56f5d /backend/internal/worker | |
parent | 739eba1a2e3a8ea806de41b96da79ae06a8445b2 (diff) | |
download | ibd-trader-63e70075365bbfaeb7cd91572f881c2114307dfd.tar.gz ibd-trader-63e70075365bbfaeb7cd91572f881c2114307dfd.tar.zst ibd-trader-63e70075365bbfaeb7cd91572f881c2114307dfd.zip |
Fix lint issues
Diffstat (limited to 'backend/internal/worker')
-rw-r--r-- | backend/internal/worker/auth/auth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/internal/worker/auth/auth.go b/backend/internal/worker/auth/auth.go index e1c6661..b748d07 100644 --- a/backend/internal/worker/auth/auth.go +++ b/backend/internal/worker/auth/auth.go @@ -153,7 +153,7 @@ func hasValidCookies(ctx context.Context, store database.CookieStore, user strin } // If the user has non-degraded cookies, return true - if cookies != nil && len(cookies) > 0 { + if len(cookies) > 0 { return true, nil } return false, nil |