1
0
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:
f4exb
2019-01-13 11:35:31 +01:00
parent b0a1f97fbc
commit 46e92e41dc
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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();