AVMG20 4 년 전
부모
커밋
a039f4def5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Http/Controllers/Admin/UserController.php

+ 1 - 1
app/Http/Controllers/Admin/UserController.php

@@ -95,7 +95,7 @@ class UserController extends Controller
             "role"           => Rule::in(['admin', 'mod', 'client', 'member']),
         ]);
 
-        if (is_null(Pterodactyl::getUser($request->input('pterodactyl_id')))){
+        if (is_null(Pterodactyl::getUser($request->input('pterodactyl_id')))) {
             throw ValidationException::withMessages([
                 'pterodactyl_id' => ["User does not exists on pterodactyl's panel"]
             ]);