# HG changeset patch # User Sascha L. Teichmann # Date 1548406862 -3600 # Node ID 83108e90b223bf9b555e1119208d842f36c8e094 # Parent 8d006afa7c1bb0014e5d8dac9d05f284f1cff5db Imports: Forgot self accessor for new email type. diff -r 8d006afa7c1b -r 83108e90b223 pkg/models/importbase.go --- 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