From 50cc6ed38f265b5d0b2b1723feaffef526f549e3 Mon Sep 17 00:00:00 2001 From: hannathkadher Date: Mon, 21 Oct 2024 10:29:59 +0400 Subject: [PATCH] fixed communityUuid --- libs/common/src/constants/controller-route.ts | 2 +- src/device/services/device.service.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/common/src/constants/controller-route.ts b/libs/common/src/constants/controller-route.ts index f59222b..6265818 100644 --- a/libs/common/src/constants/controller-route.ts +++ b/libs/common/src/constants/controller-route.ts @@ -81,7 +81,7 @@ export class ControllerRoute { }; static SPACE = class { - public static readonly ROUTE = '/communities/:communityId/spaces'; + public static readonly ROUTE = '/communities/:communityUuid/spaces'; static ACTIONS = class { public static readonly CREATE_SPACE_SUMMARY = 'Create a new space'; public static readonly CREATE_SPACE_DESCRIPTION = diff --git a/src/device/services/device.service.ts b/src/device/services/device.service.ts index 9681632..25e34c6 100644 --- a/src/device/services/device.service.ts +++ b/src/device/services/device.service.ts @@ -915,6 +915,7 @@ export class DeviceService { ); } } + async getDeviceLogs(deviceUuid: string, query: GetDeviceLogsDto) { try { const deviceDetails = await this.getDeviceByDeviceUuid(deviceUuid);