diff --git a/apps/romainlanz.com/commands/create_user.ts b/apps/romainlanz.com/commands/create_user.ts index d046256..ea92fd5 100644 --- a/apps/romainlanz.com/commands/create_user.ts +++ b/apps/romainlanz.com/commands/create_user.ts @@ -37,7 +37,7 @@ export default class CreateUser extends BaseCommand { created_at: new Date(), name, email, - role, + role: Number(role), password: hashedPassword, }) .execute();