1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-05-29 05:22:25 -04:00

Local source channel: fixed REST API

This commit is contained in:
f4exb 2019-07-03 21:17:05 +02:00
parent 764fc99e40
commit 02642b654a

View File

@ -413,8 +413,8 @@ int LocalSource::webapiSettingsGet(
QString& errorMessage) QString& errorMessage)
{ {
(void) errorMessage; (void) errorMessage;
response.setLocalSinkSettings(new SWGSDRangel::SWGLocalSinkSettings()); response.setLocalSourceSettings(new SWGSDRangel::SWGLocalSourceSettings());
response.getLocalSinkSettings()->init(); response.getLocalSourceSettings()->init();
webapiFormatChannelSettings(response, m_settings); webapiFormatChannelSettings(response, m_settings);
return 200; return 200;
} }