| 62 | cache.getCommandAPI().DELETERequest("/config/whitelist/" + userKey, nlohmann::json::object()); |
| 63 | } |
| 64 | bool BridgeConfig::getLinkButton() const |
| 65 | { |
| 66 | return cache.getValue().at("linkbutton").get<bool>(); |
| 67 | } |
| 68 | void BridgeConfig::pressLinkButton() |
| 69 | { |
| 70 | cache.getCommandAPI().PUTRequest("/config", {{"linkbutton", true}}, CURRENT_FILE_INFO); |