Pilot changed event fixed for new airport

This commit is contained in:
Nabeel Shahzad
2017-12-22 16:55:47 -06:00
parent babdca627e
commit b382ad77eb
3 changed files with 4 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ class UserService extends BaseService
public function changeUserState(User $user, $old_state): User
{
if($user->state === $old_state) {
return;
return $user;
}
Log::info('User ' . $user->pilot_id . ' state changing from '