jf-actvitity: functioning route, ombi fixes
forgot to switch branches before doing a fix for #455, so it's in here too. OmbiUserByJfID/getOmbiUser takes an optional email *string, to optionally pass an override email address to search with, used when changing it.
This commit is contained in:
+1
-1
@@ -189,7 +189,7 @@ func linkExistingOmbiDiscordTelegram(app *appContext) error {
|
||||
idList[user.JellyfinID] = vals
|
||||
}
|
||||
for jfID, ids := range idList {
|
||||
ombiUser, err := app.getOmbiUser(jfID)
|
||||
ombiUser, err := app.getOmbiUser(jfID, nil)
|
||||
if err != nil {
|
||||
app.debug.Printf("Failed to get Ombi user with Discord/Telegram \"%s\"/\"%s\": %v", ids[0], ids[1], err)
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user