fixed meddler error caused by smtp server tag configuration

This commit is contained in:
Brad Rydzewski 2014-06-21 17:45:20 -07:00
parent 7acf92e754
commit 18f7209d1d

View file

@ -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"`
}