mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-08-24 01:24:16 -05:00
Database: Fix missing argument in InsertUser
This commit is contained in:
@@ -41,7 +41,7 @@ var (
|
||||
|
||||
func (user *User) CreateUser(pool *pgxpool.Pool, ctx context.Context) error {
|
||||
if user.ProfileId == 0 {
|
||||
return pool.QueryRow(ctx, InsertUser, user.UserId, user.GsbrCode, "", user.Email, user.UniqueNick).Scan(&user.ProfileId)
|
||||
return pool.QueryRow(ctx, InsertUser, user.UserId, user.GsbrCode, "", user.NgDeviceId, user.Email, user.UniqueNick).Scan(&user.ProfileId)
|
||||
}
|
||||
|
||||
if user.ProfileId >= 1000000000 {
|
||||
|
||||
Reference in New Issue
Block a user