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