UPDATE: Add super admin
All checks were successful
Build and Release / release (push) Successful in 1m20s

This commit is contained in:
2026-03-31 00:00:11 +07:00
parent f4644d893a
commit 338f6da83c
2 changed files with 13 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ func SeedSuperAdmin(pool *pgxpool.Pool) error {
return err
}
role, err := q.GetRoleByName(ctx, constants.USER.String())
role, err := q.GetRoleByName(ctx, constants.ADMIN.String())
if err != nil {
return err
}