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