UPDATE: Add super admin
All checks were successful
Build and Release / release (push) Successful in 1m20s
All checks were successful
Build and Release / release (push) Successful in 1m20s
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user