From bd697b6e718cfb3f3aa0c8bc7ad4854ac46bdc39 Mon Sep 17 00:00:00 2001 From: p0t4t0sandwich Date: Tue, 23 Apr 2024 23:07:51 -0600 Subject: [PATCH] more logging --- modules/auth/linking/twitch.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/auth/linking/twitch.go b/modules/auth/linking/twitch.go index c4578fb..ef0dc0a 100644 --- a/modules/auth/linking/twitch.go +++ b/modules/auth/linking/twitch.go @@ -230,6 +230,8 @@ func TwitchOAuth(as auth.AccountStore, ss sess.SessionStore, las LinkAccountStor // Check if platform account is linked to an account la, err := las.GetLinkedAccountByPlatformID(PlatformTwitch, user.ID) + log.Println(la) + log.Println(err) if err != nil { // If the account IDs don't match, default to OAuth as the source of truth if a == nil || a.UserID != la.UserID {