From 02642b654a91eb4eaf75ba8c023bbd79baf99627 Mon Sep 17 00:00:00 2001 From: f4exb Date: Wed, 3 Jul 2019 21:17:05 +0200 Subject: [PATCH] Local source channel: fixed REST API --- plugins/channeltx/localsource/localsource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/channeltx/localsource/localsource.cpp b/plugins/channeltx/localsource/localsource.cpp index 36809d866..0ae044b65 100644 --- a/plugins/channeltx/localsource/localsource.cpp +++ b/plugins/channeltx/localsource/localsource.cpp @@ -413,8 +413,8 @@ int LocalSource::webapiSettingsGet( QString& errorMessage) { (void) errorMessage; - response.setLocalSinkSettings(new SWGSDRangel::SWGLocalSinkSettings()); - response.getLocalSinkSettings()->init(); + response.setLocalSourceSettings(new SWGSDRangel::SWGLocalSourceSettings()); + response.getLocalSourceSettings()->init(); webapiFormatChannelSettings(response, m_settings); return 200; }