|
@@ -31,7 +31,7 @@ class BehaviorController extends Controller
|
|
|
'identify' => 'required',
|
|
|
]);
|
|
|
if ($validator->fails()) {
|
|
|
- return $this->jsonError($validator->errors()->first());
|
|
|
+ return jsonError($validator->errors()->first());
|
|
|
}
|
|
|
$row = $this->behaviorRepositories->getBehavior($request['identify']);
|
|
|
return jsonSuccess($row);
|