mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-07 00:14:49 -04:00
Web API: /sdrangel/deviceset/{deviceSetIndex}/channel (POST) fix and example
This commit is contained in:
@@ -797,7 +797,7 @@ void WebAPIRequestMapper::devicesetChannelService(
|
||||
|
||||
if (jsonObject.contains("channelType") && jsonObject["channelType"].isString())
|
||||
{
|
||||
normalResponse.setChannelType(new QString(jsonObject["deviceHwType"].toString()));
|
||||
normalResponse.setChannelType(new QString(jsonObject["channelType"].toString()));
|
||||
|
||||
int status = m_adapter->devicesetChannelPost(deviceSetIndex, normalResponse, errorResponse);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user