This commit is contained in:
2020-09-08 14:05:06 +08:00
parent 9789e3bbfd
commit dfa6a4cf34
+1 -1
View File
@@ -416,7 +416,7 @@ class Node extends Application
*/
public function dispatch()
{
if (empty($node->callback)) {
if (empty($this->callback)) {
return JSON::to(404, 'Page not found.');
}
return call_user_func($this->callback, \request());