diff pkg/models/bn.go @ 1646:a0982c38eac0

Import queue: Implemented email notifications.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 20 Dec 2018 15:33:29 +0100
parents 165f31b71042
children d8ca44615bfc
line wrap: on
line diff
--- a/pkg/models/bn.go	Thu Dec 20 15:20:49 2018 +0100
+++ b/pkg/models/bn.go	Thu Dec 20 15:33:29 2018 +0100
@@ -14,6 +14,7 @@
 package models
 
 type BottleneckImport struct {
-	URL      string `json:"url"`
-	Insecure bool   `json:"insecure"`
+	URL       string `json:"url"`
+	Insecure  bool   `json:"insecure"`
+	SendEmail bool   `json:"send-email"`
 }