forked from tildetown/town
oops
parent
1bec2349cb
commit
f624483614
|
@ -92,7 +92,8 @@ func (u *TownUser) Insert(db *sql.DB) (err error) {
|
|||
if result, err = stmt.Exec(
|
||||
u.Created.Unix(),
|
||||
u.Username,
|
||||
u.State); err != nil {
|
||||
u.State,
|
||||
u.IsAdmin); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue