Ken 1 주 전
부모
커밋
9aa845c7b6
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app/Http/Controllers/api/Fingerprint.php

+ 2 - 2
app/Http/Controllers/api/Fingerprint.php

@@ -25,9 +25,9 @@ class Fingerprint extends BaseController
             ]);
             PublicService:: setVisitorId($params['member_id'], $params['visitor_id']);
         } catch (ValidationException $e) {
-            return $this->error(HttpStatus::CUSTOM_ERROR, $e->validator->errors()->first());
+            return $this->error($e->validator->errors()->first());
         } catch (Exception $e) {
-            return $this->error(HttpStatus::CUSTOM_ERROR, $e->getMessage());
+            return $this->error($e->getMessage());
         }
         return $this->success();
     }