fix build

This commit is contained in:
Nikita Mikhaylov 2021-03-26 20:29:15 +03:00
parent 3ab17233cf
commit ebf1e2fa9c

View File

@ -980,7 +980,11 @@ bool TCPHandler::receivePacket()
case Protocol::Client::NextTaskRequest:
{
auto id = receiveNextTaskRequest();
#if USE_AWS_S3
auto next = TaskSupervisor::instance().getNextTaskForId(id);
#else
auto next = "";
#endif
sendNextTaskReply(next);
return false;
}