changeset 1763:4c21ff668b01

Configured imports: Fixed SQL statements.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 11 Jan 2019 10:16:58 +0100
parents f567ede52fa6
children bb4348ac52ab
files pkg/controllers/importconfig.go
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/controllers/importconfig.go	Thu Jan 10 18:57:32 2019 +0100
+++ b/pkg/controllers/importconfig.go	Fri Jan 11 10:16:58 2019 +0100
@@ -50,7 +50,7 @@
 	insertImportConfigurationSQL = `
 INSERT INTO waterway.import_configuration
 (username, kind, cron, send_email, url)
-VALUES ($1, $2, $3, $4, $5, $6)
+VALUES ($1, $2, $3, $4, $5)
 RETURNING id`
 
 	insertImportConfigurationAttributeSQL = `
@@ -76,7 +76,7 @@
   kind = $3,
   cron = $4,
   url = $5,
-  send_email = $6,
+  send_email = $6
 WHERE id = $1
 `
 )