diff --git a/api/src/auth/auth.service.ts b/api/src/auth/auth.service.ts index ff27127..8e2f8f8 100644 --- a/api/src/auth/auth.service.ts +++ b/api/src/auth/auth.service.ts @@ -196,7 +196,7 @@ export class AuthService { ) } - await this.apiKeyModel.deleteOne({ _id: apiKeyId }) + // await this.apiKeyModel.deleteOne({ _id: apiKeyId }) } async trackAccessLog({ request }) { diff --git a/api/src/gateway/gateway.service.ts b/api/src/gateway/gateway.service.ts index 4574569..4ec3a86 100644 --- a/api/src/gateway/gateway.service.ts +++ b/api/src/gateway/gateway.service.ts @@ -80,7 +80,8 @@ export class GatewayService { ) } - return await this.deviceModel.findByIdAndDelete(deviceId) + return {} + // return await this.deviceModel.findByIdAndDelete(deviceId) } async sendSMS(deviceId: string, smsData: SendSMSInputDTO): Promise {