Skip to content
This repository was archived by the owner on Jul 11, 2019. It is now read-only.

Commit e1a0057

Browse files
committed
Update user.go
fix adding user bind bug
1 parent ed834a0 commit e1a0057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/user.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func (a *UserAddAction) Get() error {
8484

8585
func (a *UserAddAction) Post() error {
8686
var user User
87-
errs := a.Bind(user)
87+
errs := a.Bind(&user)
8888
if errs.Len() > 0 {
8989
return errs[0]
9090
}

0 commit comments

Comments
 (0)