switch from twitch usernames to user id

This commit is contained in:
lyx0 2023-03-05 20:57:08 +00:00
parent 6b255a2bb5
commit 8a7057f2d4

View file

@ -31,7 +31,7 @@ type Models struct {
SetLevel(login string, level int) error SetLevel(login string, level int) error
GetLevel(twitchId string) (int, error) GetLevel(twitchId string) (int, error)
SetLocation(login, location string) error SetLocation(login, location string) error
GetLocation(login string) (string, error) GetLocation(twitchId string) (string, error)
SetLastFM(login, lastfmUser string) error SetLastFM(login, lastfmUser string) error
GetLastFM(login string) (string, error) GetLastFM(login string) (string, error)
Delete(login string) error Delete(login string) error