mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-26 10:54:55 +00:00
updated project hardcoded values
This commit is contained in:
@ -219,13 +219,14 @@ class DevicesAPI {
|
||||
required String communityUuid,
|
||||
required String spaceUuid,
|
||||
required String roomId,
|
||||
required String projectId,
|
||||
}) async {
|
||||
try {
|
||||
final String path = ApiEndpoints.deviceByRoom
|
||||
.replaceAll('{communityUuid}', communityUuid)
|
||||
.replaceAll('{spaceUuid}', spaceUuid)
|
||||
.replaceAll('{subSpaceUuid}', roomId)
|
||||
.replaceAll('{projectUuid}', TempConst.projectIdDev);
|
||||
.replaceAll('{projectUuid}', projectId);
|
||||
|
||||
final response = await _httpService.get(
|
||||
path: path,
|
||||
@ -564,12 +565,13 @@ class DevicesAPI {
|
||||
static Future<List<DeviceModel>> getAllDevices({
|
||||
required String communityUuid,
|
||||
required String spaceUuid,
|
||||
required String projectId,
|
||||
}) async {
|
||||
try {
|
||||
final String path = ApiEndpoints.getAllDevices
|
||||
.replaceAll('{communityUuid}', communityUuid)
|
||||
.replaceAll('{spaceUuid}', spaceUuid)
|
||||
.replaceAll('{projectUuid}', TempConst.projectIdDev);
|
||||
.replaceAll('{projectUuid}', projectId);
|
||||
|
||||
final response = await _httpService.get(
|
||||
path: path,
|
||||
|
||||
Reference in New Issue
Block a user