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