diff --git a/library/traits/controller/Jump.php b/library/traits/controller/Jump.php index 40f3dacd..23c9bc0b 100644 --- a/library/traits/controller/Jump.php +++ b/library/traits/controller/Jump.php @@ -106,7 +106,7 @@ trait Jump 'data' => $data, ]; $type = $type ?: $this->getResponseType(); - return Response::create([], $type)->data($data); + return Response::create($result, $type); } /**