src/Traits/ApiResponse.php
public function response(array $data, $http_code)
    {
        if (config('odin.queryRequest')) {
            $data['queries'] = $this->getQueries();
        }
        return response()->json($data, $http_code);
    }
public function response(array $data, $http_code)
    {
        if (config('odin.queryRequest')) {
            $data['queries'] = $this->getQueries();
        }
        return response()->json($data, $http_code);
    }
Return HTTP Code

@return \Illuminate\Http\Response