1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

REST API: config: fixes (2)

This commit is contained in:
f4exb
2019-08-13 12:18:47 +02:00
parent 6a0038e5bd
commit ec22056cbf
13 changed files with 430 additions and 43 deletions
-13
View File
@@ -318,19 +318,6 @@ void WebAPIAdapterBase::webapiUpdatePreset(
if (deviceWebAPIAdapter)
{
if (!force) // In PATCH mode you must find the exact device and deserialize its current settings to be able to patch it
{
const QByteArray *config = preset->findDeviceConfig(deviceId, deviceSerial, deviceSequence);
if (!config) {
continue;
}
if (!deviceWebAPIAdapter->deserialize(*config)) {
continue;
}
}
deviceWebAPIAdapter->webapiSettingsPutPatch(
force,
deviceKeysIt->m_deviceKeys,