Mercurial > gemma
changeset 2030:83108e90b223 unify_imports
Imports: Forgot self accessor for new email type.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 25 Jan 2019 10:01:02 +0100 |
parents | 8d006afa7c1b |
children | 15db4fb07af4 |
files | pkg/models/importbase.go |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/models/importbase.go Fri Jan 25 09:55:56 2019 +0100 +++ b/pkg/models/importbase.go Fri Jan 25 10:01:02 2019 +0100 @@ -64,6 +64,10 @@ return ut } +func (et *EmailType) GetEmailType() *EmailType { + return et +} + // UnmarshalJSON checks if the incoming string is a valid cron line. func (cs *CronSpec) UnmarshalJSON(data []byte) error { var spec string