MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / removeUser

Method removeUser

dependencies/hueplusplus-1.0.0/src/BridgeConfig.cpp:60–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 return users;
59}
60void BridgeConfig::removeUser(const std::string& userKey)
61{
62 cache.getCommandAPI().DELETERequest("/config/whitelist/" + userKey, nlohmann::json::object());
63}
64bool BridgeConfig::getLinkButton() const
65{
66 return cache.getValue().at("linkbutton").get<bool>();

Callers 1

TESTFunction · 0.80

Calls 1

DELETERequestMethod · 0.80

Tested by 1

TESTFunction · 0.64