fix: mockup topic

This commit is contained in:
2025-12-08 12:37:03 +07:00
parent ceb06474dd
commit 02457a6f61
+2 -2
View File
@@ -20,7 +20,7 @@ export default abstract class QueryService {
const topic = `${query.merchantName}/${query.floorName}_${query.unitNumber}-${query.deviceName}-${query.roomName}-${query.deviceType}-S-${query.towerNumber}`
if (topic == 'SAVY/01_L2-BL-LV-S-S-T1') {
if (topic == 'SAVY/L2_01-BL-LV-S-S-T1') {
return {
status: 'success',
message: 'command accepted',
@@ -37,7 +37,7 @@ export default abstract class QueryService {
}
}
if (topic == 'SAVY/01_L2-L-LV-S-S-T1') {
if (topic == 'SAVY/L2_01-L-LV-S-S-T1') {
return {
status: 'success',
message: 'command accepted',