mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
Requests: Fix GetSourceDefaultSettings indentation and docs
This commit is contained in:
parent
ffb34c3fd4
commit
488a57e2de
@ -1684,6 +1684,8 @@ RpcResponse WSRequestHandler::SetAudioMonitorType(const RpcRequest& request)
|
||||
*
|
||||
* @param {String} `sourceKind` Source name.
|
||||
*
|
||||
* @return {Object} `defaultSettings` Settings object for source.
|
||||
*
|
||||
* @api requests
|
||||
* @name GetSourceDefaultSettings
|
||||
* @category sources
|
||||
@ -1696,7 +1698,6 @@ RpcResponse WSRequestHandler::GetSourceDefaultSettings(const RpcRequest& request
|
||||
}
|
||||
|
||||
QString sourceKind = obs_data_get_string(request.parameters(), "sourceKind");
|
||||
|
||||
if (sourceKind.isEmpty()) {
|
||||
return request.failed("invalid request parameters");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user