mirror of
https://github.com/vernu/textbee.git
synced 2026-05-05 14:13:24 -04:00
chore(api): temporarily disable device and apiKey deletion
This commit is contained in:
@@ -196,7 +196,7 @@ export class AuthService {
|
||||
)
|
||||
}
|
||||
|
||||
await this.apiKeyModel.deleteOne({ _id: apiKeyId })
|
||||
// await this.apiKeyModel.deleteOne({ _id: apiKeyId })
|
||||
}
|
||||
|
||||
async trackAccessLog({ request }) {
|
||||
|
||||
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user