mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-01-18 16:47:42 +01:00
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:
2
api.go
2
api.go
@@ -201,7 +201,7 @@ func (app *appContext) ResetSetPassword(gc *gin.Context) {
|
||||
respondBool(200, true, gc)
|
||||
return
|
||||
} */
|
||||
ombiUser, err := app.getOmbiUser(user.ID)
|
||||
ombiUser, err := app.getOmbiUser(user.ID, nil)
|
||||
if err != nil {
|
||||
app.err.Printf(lm.FailedGetUser, user.ID, lm.Ombi, err)
|
||||
respondBool(200, true, gc)
|
||||
|
||||
Reference in New Issue
Block a user