This commit is contained in:
seb
2026-10-29 03:29:07 +01:00
parent 0fb5893a70
commit c7db2262b0
2 changed files with 3 additions and 4 deletions

View File

@@ -76,7 +76,7 @@ export default function upsert(provider) {
const sort = input.sort !== undefined ? input.sort : existing.rows[0].sort;
const enabled = input.enabled !== undefined ? (input.enabled ? 1 : 0) : (existing.rows[0].enabled ? 1 : 0);
const clientversion = input.clientversion !== undefined ? (input.clientversion ? String(input.clientversion).trim() : null) : (existing.rows[0].clientversion ?? null);
const clientversion = existing.rows[0].clientversion ?? null;
const pairingpin =
input.pairingpin !== undefined