code cleanup

This commit is contained in:
Christoph Haas
2025-01-11 22:56:25 +01:00
parent 26d3257516
commit 63d85d8123
6 changed files with 31 additions and 22 deletions

View File

@@ -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,
},