fix: mockup topic

This commit is contained in:
2025-12-08 12:49:16 +07:00
parent ae64008f9a
commit a63685db22
+1 -1
View File
@@ -17,7 +17,7 @@ export default abstract class CommandService {
receivedAt: new Date().toISOString(),
}
}
if (topicData == 'SAVY/L2_01-BL-LV-S-C-T1' && ['Open', 'Close'].includes(body.payload.action)) {
if (topicData == 'SAVY/L2_01-BL-LV-S-C-T1' && ['Open', 'Closed'].includes(body.payload.action)) {
return {
status: 'success',
message: 'Command accepted',