mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-27 07:34:54 +00:00
updated endpoint for device
This commit is contained in:
@ -491,7 +491,12 @@ class DevicesAPI {
|
||||
}) async {
|
||||
final response = await _httpService.post(
|
||||
path: ApiEndpoints.controlBatch,
|
||||
body: {"devicesUuid": devicesUuid, "code": code, "value": value},
|
||||
body: {
|
||||
"devicesUuid": devicesUuid,
|
||||
"code": code,
|
||||
"value": value,
|
||||
"operationType": 'COMMAND',
|
||||
},
|
||||
showServerMessage: true,
|
||||
expectedResponseModel: (json) {
|
||||
return json;
|
||||
|
||||
Reference in New Issue
Block a user