mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
REST API: fixed reverse API address setting
This commit is contained in:
@@ -1400,7 +1400,7 @@ int XTRXInput::webapiSettingsPutPatch(
|
||||
settings.m_useReverseAPI = response.getXtrxInputSettings()->getUseReverseApi() != 0;
|
||||
}
|
||||
if (deviceSettingsKeys.contains("reverseAPIAddress")) {
|
||||
settings.m_reverseAPIAddress = *response.getXtrxInputSettings()->getReverseApiAddress() != 0;
|
||||
settings.m_reverseAPIAddress = *response.getXtrxInputSettings()->getReverseApiAddress();
|
||||
}
|
||||
if (deviceSettingsKeys.contains("reverseAPIPort")) {
|
||||
settings.m_reverseAPIPort = response.getXtrxInputSettings()->getReverseApiPort();
|
||||
|
||||
Reference in New Issue
Block a user