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:
@@ -421,7 +421,7 @@ func (app *appContext) ResetPassword(gc *gin.Context) {
|
||||
app.err.Printf(lm.FailedGetUser, username, lm.Jellyfin, err)
|
||||
return
|
||||
}
|
||||
ombiUser, err := app.getOmbiUser(jfUser.ID)
|
||||
ombiUser, err := app.getOmbiUser(jfUser.ID, nil)
|
||||
if err != nil {
|
||||
app.err.Printf(lm.FailedGetUser, username, lm.Ombi, err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user