chore(api): temporarily disable device and apiKey deletion

This commit is contained in:
isra el
2024-04-20 10:33:37 +03:00
parent 10b45bd92f
commit be5e9b1782
2 changed files with 3 additions and 2 deletions

View File

@@ -196,7 +196,7 @@ export class AuthService {
)
}
await this.apiKeyModel.deleteOne({ _id: apiKeyId })
// await this.apiKeyModel.deleteOne({ _id: apiKeyId })
}
async trackAccessLog({ request }) {

View File

@@ -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<any> {