|
|
@@ -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();
|
|
|
}
|