From 23ac8071bcd4dea1759c7d3b3a881d6bb35dcd48 Mon Sep 17 00:00:00 2001 From: phecho Date: Tue, 5 Jan 2016 23:51:16 +0800 Subject: [PATCH] Fix typo --- app/Bus/Handlers/Commands/User/SignupUserCommandHandler.php | 2 +- app/Console/Commands/DemoSeederCommand.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Bus/Handlers/Commands/User/SignupUserCommandHandler.php b/app/Bus/Handlers/Commands/User/SignupUserCommandHandler.php index f1b29dbe..740b8a4c 100644 --- a/app/Bus/Handlers/Commands/User/SignupUserCommandHandler.php +++ b/app/Bus/Handlers/Commands/User/SignupUserCommandHandler.php @@ -30,7 +30,7 @@ class SignupUserCommandHandler 'username' => $command->username, 'password' => $command->password, 'email' => $command->email, - 'level' => 2, + 'level' => User::LEVEL_USER, ]); event(new UserWasAddedEvent($user)); diff --git a/app/Console/Commands/DemoSeederCommand.php b/app/Console/Commands/DemoSeederCommand.php index e68e594f..05899c96 100644 --- a/app/Console/Commands/DemoSeederCommand.php +++ b/app/Console/Commands/DemoSeederCommand.php @@ -317,7 +317,7 @@ class DemoSeederCommand extends Command 'username' => 'test', 'password' => 'test123', 'email' => 'test@test.com', - 'level' => 1, + 'level' => User::LEVEL_ADMIN, 'api_key' => '9yMHsdioQosnyVK4iCVR', ], ];