Browse Source

20220901 修改 production 為 PRO / pro - 復原

LuluFJ.Ho 2 years ago
parent
commit
6f2cd95b11
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/Exceptions/Handler.php

+ 1
- 1
app/Exceptions/Handler.php View File

100
             foreach ($exception->errors() as $col => $errorMsg) {
100
             foreach ($exception->errors() as $col => $errorMsg) {
101
                 $validationData['errors']['validation'][$col] = $errorMsg[0];
101
                 $validationData['errors']['validation'][$col] = $errorMsg[0];
102
             }
102
             }
103
-            return $this->apiExceptionResponse($exception, Response::HTTP_UNPROCESSABLE_ENTITY, config('response-message.validation_failed123'), $validationData);
103
+            return $this->apiExceptionResponse($exception, Response::HTTP_UNPROCESSABLE_ENTITY, config('response-message.validation_failed'), $validationData);
104
         }
104
         }
105
 
105
 
106
         // Others: 500 error
106
         // Others: 500 error