From 69522024d2df6589651875fe56650c5da45be32c Mon Sep 17 00:00:00 2001 From: Dominik Nakamura Date: Fri, 17 Dec 2021 12:21:39 +0900 Subject: [PATCH] docs: Adjust `slotValue` type to `Any` --- src/requesthandler/RequestHandler_Config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/requesthandler/RequestHandler_Config.cpp b/src/requesthandler/RequestHandler_Config.cpp index 7905283f..0cf7fe87 100644 --- a/src/requesthandler/RequestHandler_Config.cpp +++ b/src/requesthandler/RequestHandler_Config.cpp @@ -28,7 +28,7 @@ with this program. If not, see * @requestField realm | String | The data realm to select. `OBS_WEBSOCKET_DATA_REALM_GLOBAL` or `OBS_WEBSOCKET_DATA_REALM_PROFILE` * @requestField slotName | String | The name of the slot to retrieve data from * - * @responseField slotValue | String | Value associated with the slot. `null` if not set + * @responseField slotValue | Any | Value associated with the slot. `null` if not set * * @requestType GetPersistentData * @complexity 2 @@ -407,7 +407,7 @@ RequestResult RequestHandler::SetProfileParameter(const Request& request) } else { return RequestResult::Error(RequestStatus::InvalidRequestFieldType, "The field `parameterValue` must be a string."); } - + return RequestResult::Success(); }