mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
fix typo
This commit is contained in:
@@ -78,7 +78,7 @@ void HandleRequests(mg_connection* connection, int request, void* request_data)
|
||||
reply.message = data.empty() ? "{\"error\":\"No Players Online\"}" : data.dump();
|
||||
} else if (mg_match(http_msg->uri, mg_str((root_path + "teams").c_str()), NULL)) {
|
||||
// Get Teams
|
||||
const json data = Game::playerContainer.GetTeamComtainer();
|
||||
const json data = Game::playerContainer.GetTeamContainer();
|
||||
|
||||
reply.status = data.empty() ? 204 : 200;
|
||||
reply.message = data.empty() ? "{\"error\":\"No Teams Online\"}" : data.dump();
|
||||
|
Reference in New Issue
Block a user