mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-18 06:57:33 +01:00
web_service: Fix -Wmissing-field-initializers
This commit is contained in:
parent
7fbd2916a1
commit
ee5cb9c7b9
@ -112,7 +112,7 @@ WebService::WebResult RoomJson::Update() {
|
|||||||
if (room_id.empty()) {
|
if (room_id.empty()) {
|
||||||
LOG_ERROR(WebService, "Room must be registered to be updated");
|
LOG_ERROR(WebService, "Room must be registered to be updated");
|
||||||
return WebService::WebResult{WebService::WebResult::Code::LibError,
|
return WebService::WebResult{WebService::WebResult::Code::LibError,
|
||||||
"Room is not registered"};
|
"Room is not registered", ""};
|
||||||
}
|
}
|
||||||
nlohmann::json json{{"players", room.members}};
|
nlohmann::json json{{"players", room.members}};
|
||||||
return client.PostJson(fmt::format("/lobby/{}", room_id), json.dump(), false);
|
return client.PostJson(fmt::format("/lobby/{}", room_id), json.dump(), false);
|
||||||
|
Loading…
Reference in New Issue
Block a user