mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Return correct error for missing pathfinding request. Fixes RIPD-293
This commit is contained in:
@@ -56,7 +56,7 @@ Json::Value RPCHandler::doPathFind (Json::Value params, Resource::Charge& loadTy
|
||||
PathRequest::pointer request = mInfoSub->getPathRequest ();
|
||||
|
||||
if (!request)
|
||||
return rpcNO_PF_REQUEST;
|
||||
return rpcError (rpcNO_PF_REQUEST);
|
||||
|
||||
return request->doStatus (params);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user