modify
This commit is contained in:
@@ -105,7 +105,7 @@ class HTTPServerListener extends Abstracts\Server
|
|||||||
if (Context::hasContext(Response::class)) {
|
if (Context::hasContext(Response::class)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Context::getContext(Response::class)->send($data,200, $response);
|
\response()->send($data,200, $response);
|
||||||
$this->eventDispatch->dispatch(new OnAfterRequest());
|
$this->eventDispatch->dispatch(new OnAfterRequest());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user