diff --git a/src/Group.cpp b/src/Group.cpp index 74c50b6..86f82d7 100644 --- a/src/Group.cpp +++ b/src/Group.cpp @@ -267,10 +267,7 @@ nlohmann::json CreateGroup::getRequest() const { result["name"] = name; } - if (!roomType.empty()) - { - result["class"] = roomType; - } + result["class"] = roomType.empty() ? "Other" : roomType; return result; }