Fix Reflection.h.

This commit is contained in:
ykiko
2024-09-11 18:41:12 +08:00
parent 90dfc40665
commit bdafccbce6
9 changed files with 117 additions and 23 deletions

View File

@@ -139,7 +139,7 @@ void Server::handleMessage(std::string_view message) {
if(auto handler = handlers.find(method); handler != handlers.end()) {
handler->second(*id, *params);
} else {
spdlog::error("Method not found: {}", method);
scheduler.dispatch(method, *params);
}
}