Mercurial > gemma
diff pkg/controllers/manualimports.go @ 2029:8d006afa7c1b unify_imports
Imports: Stretch imports are not configurabel and scheduable.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 25 Jan 2019 09:55:56 +0100 |
parents | 6b9f0fe741dc |
children | 74e24ae3205a |
line wrap: on
line diff
--- a/pkg/controllers/manualimports.go Fri Jan 25 09:42:43 2019 +0100 +++ b/pkg/controllers/manualimports.go Fri Jan 25 09:55:56 2019 +0100 @@ -159,7 +159,10 @@ } trys = qct.Trys waitRetry = qct.WaitRetry - email = qct.EMail + } + + if etg, ok := input.(models.EmailTypeGetter); ok { + email = etg.GetEmailType().Email } session, _ := auth.GetSession(req)