mirror of
https://github.com/h44z/wg-portal.git
synced 2025-09-15 07:11:15 +00:00
code cleanup
This commit is contained in:
@@ -129,8 +129,8 @@ func (a *App) createDefaultUser(ctx context.Context) error {
|
||||
now := time.Now()
|
||||
admin, err := a.CreateUser(ctx, &domain.User{
|
||||
BaseModel: domain.BaseModel{
|
||||
CreatedBy: "system",
|
||||
UpdatedBy: "system",
|
||||
CreatedBy: domain.CtxSystemAdminId,
|
||||
UpdatedBy: domain.CtxSystemAdminId,
|
||||
CreatedAt: now,
|
||||
UpdatedAt: now,
|
||||
},
|
||||
|
Reference in New Issue
Block a user