fix: mockup topic
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user