This commit is contained in:
2021-08-05 14:12:03 +08:00
parent 517fb75637
commit 0ccad9bbff
+2 -1
View File
@@ -124,7 +124,8 @@ class Node extends HttpService
$callback = $this->injectClosureMiddleware($manager, $handler);
}
$handlerProviders = di(HandlerProviders::class);
return $handlerProviders->add($this->sourcePath, $this->method, $callback);
$handlerProviders->add($this->sourcePath, $this->method, $callback);
return $this;
}