From 8a7057f2d407da90262a12170b201084e042ad90 Mon Sep 17 00:00:00 2001 From: lyx0 <66651385+lyx0@users.noreply.github.com> Date: Sun, 5 Mar 2023 20:57:08 +0000 Subject: [PATCH] switch from twitch usernames to user id --- internal/data/models.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/data/models.go b/internal/data/models.go index 57acfc9..daa4c34 100644 --- a/internal/data/models.go +++ b/internal/data/models.go @@ -31,7 +31,7 @@ type Models struct { SetLevel(login string, level int) error GetLevel(twitchId string) (int, error) SetLocation(login, location string) error - GetLocation(login string) (string, error) + GetLocation(twitchId string) (string, error) SetLastFM(login, lastfmUser string) error GetLastFM(login string) (string, error) Delete(login string) error