Ken 1 týždeň pred
rodič
commit
7984db5520
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      app/Http/Controllers/admin/Withdraw.php

+ 1 - 1
app/Http/Controllers/admin/Withdraw.php

@@ -172,7 +172,7 @@ class Withdraw extends Controller
             return $this->error(HttpStatus::CUSTOM_ERROR, $e->validator->errors()->first());
         } catch (Exception $e) {
             DB::rollBack();
-            return $this->error(intval($e->getCode()), $e->getMessage());
+            return $this->error($e->getCode(), $e->getMessage());
         }
         return $this->success();
     }