mirror of
https://github.com/Koenkk/zigbee-OTA.git
synced 2026-06-24 15:19:52 +00:00
fix ad3af87857
This commit is contained in:
@@ -309,8 +309,8 @@ export function getValidMetas(metas: Partial<ExtraMetas & ExtraMetasWithFileName
|
||||
}
|
||||
|
||||
if (metas.customParseLogic != null) {
|
||||
if (metas.customParseLogic === "telinkEncrypted") {
|
||||
throw new Error(`Invalid value for 'customParseLogic', expected 'telinkEncrypted' type.`);
|
||||
if (metas.customParseLogic !== "telinkEncrypted") {
|
||||
throw new Error(`Invalid value for 'customParseLogic', expected 'telinkEncrypted' value.`);
|
||||
}
|
||||
|
||||
validMetas.customParseLogic = metas.customParseLogic;
|
||||
|
||||
Reference in New Issue
Block a user