fix: rollback mockup api

This commit is contained in:
2025-12-08 14:32:59 +07:00
parent bdc85fc512
commit cc59d59090
+3 -3
View File
@@ -19,9 +19,9 @@ export default abstract class QueryService {
const topic = `${query.merchantName}/${query.floorName}_${query.unitNumber}-${query.deviceName}-${query.roomName}-${query.deviceType}-S-${query.towerNumber}` const topic = `${query.merchantName}/${query.floorName}_${query.unitNumber}-${query.deviceName}-${query.roomName}-${query.deviceType}-S-${query.towerNumber}`
// if (!['SAVY/L2_01-BL-LV-S-S-T1', 'SAVY/L2_01-L-LV-S-S-T1'].includes(topic)) { if (!['SAVY/L2_01-BL-LV-S-S-T1', 'SAVY/L2_01-L-LV-S-S-T1'].includes(topic)) {
// throw new Error('Unsupported device topic') throw new Error('Unsupported device topic')
// } }
if (topic === 'SAVY/L2_01-BL-LV-S-S-T1') { if (topic === 'SAVY/L2_01-BL-LV-S-S-T1') {
return { return {