From e634154fb326b26cc7485d4cbecf18505deb0ef5 Mon Sep 17 00:00:00 2001 From: hannathkadher Date: Thu, 20 Feb 2025 13:31:31 +0400 Subject: [PATCH] fixed device endpoint --- lib/utils/constants/api_const.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/constants/api_const.dart b/lib/utils/constants/api_const.dart index c7a91e1a..1022d734 100644 --- a/lib/utils/constants/api_const.dart +++ b/lib/utils/constants/api_const.dart @@ -25,7 +25,7 @@ abstract class ApiEndpoints { ////// Devices Management //////////////// - static const String getAllDevices = '/projects/{projectId}/device'; + static const String getAllDevices = '/projects/{projectId}/devices'; static const String getSpaceDevices = '/projects/{projectId}/communities/{communityUuid}/spaces/{spaceUuid}/devices'; static const String getDeviceStatus = '/device/{uuid}/functions/status';