From 18f7209d1d2b3f3dcacaa25dce6f0be19c20271a Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Sat, 21 Jun 2014 17:45:20 -0700 Subject: [PATCH] fixed meddler error caused by smtp server tag configuration --- shared/model/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/model/server.go b/shared/model/server.go index c55e8a69c..07ff84d79 100644 --- a/shared/model/server.go +++ b/shared/model/server.go @@ -13,7 +13,7 @@ type SMTPServer struct { ID int64 `meddler:"smtp_id,pk" json:"id"` From string `meddler:"smtp_from" json:"from"` Host string `meddler:"smtp_host" json:"host"` - Port string `meddler:"smtp_host" json:"port"` + Port string `meddler:"smtp_port" json:"port"` User string `meddler:"smtp_user" json:"user"` Pass string `meddler:"smtp_pass" json:"name"` }