Can provide Discord ID on register

This commit is contained in:
daru
2022-07-16 22:03:58 +02:00
parent aec582ff8e
commit 0417ceb1f9
3 changed files with 14 additions and 10 deletions

View File

@@ -68,9 +68,10 @@ type WatchUser struct {
}
type UserData struct {
Username string `json:"username"`
MalID int64 `json:"malId"`
Secret string `json:"secret"`
Username string `json:"username"`
MalID int64 `json:"malId"`
DiscordID int64 `json:"discordId"`
Secret string `json:"secret"`
}
type User struct {
@@ -86,10 +87,11 @@ type User struct {
}
type RegisterData struct {
Username string `json:"username"`
MalID int64 `json:"malId"`
Secret string `json:"secret"`
Sauce string `json:"sauce"`
Username string `json:"username"`
MalID int64 `json:"malId"`
DiscordID int64 `json:"discordId"`
Secret string `json:"secret"`
Sauce string `json:"sauce"`
}
type AnimeDetailMal struct {