docs: Adjust slotValue type to Any

This commit is contained in:
Dominik Nakamura 2021-12-17 12:21:39 +09:00
parent 24cd95bca7
commit 69522024d2
No known key found for this signature in database
GPG Key ID: E4C6A749B2491910

View File

@ -28,7 +28,7 @@ with this program. If not, see <https://www.gnu.org/licenses/>
* @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();
}