Skip to content

Commit f944395

Browse files
committed
fix lint of **master**
1 parent 8e7a5a4 commit f944395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ func ChangeUserName(u *User, newUserName string) (err error) {
10441044
} else if isExist {
10451045
return ErrUserAlreadyExist{newUserName}
10461046
}
1047-
1047+
10481048
sess := x.NewSession()
10491049
defer sess.Close()
10501050
if err = sess.Begin(); err != nil {

0 commit comments

Comments
 (0)