update pricing data

This commit is contained in:
Emily
2025-04-05 16:42:52 +02:00
parent 10d4a9f1bc
commit 72ceb7971d
3 changed files with 4 additions and 4 deletions

View File

@@ -34,6 +34,7 @@ export default defineEventHandler(async event => {
const passwordDeletation = await PasswordModel.deleteMany({ user_id: userData.id });
const limitdeletation = await UserLimitModel.deleteMany({ user_id: userData.id });
const notifiesDeletation = await LimitNotifyModel.deleteMany({ user_id: userData.id });
await StripeService.deleteCustomer(premium.customer_id);
@@ -43,7 +44,6 @@ export default defineEventHandler(async event => {
const userSettingsDeletation = await UserSettingsModel.deleteOne({ project_id });
const countDeletation = await ProjectCountModel.deleteMany({ project_id });
const sessionsDeletation = await SessionModel.deleteMany({ project_id });
const notifiesDeletation = await LimitNotifyModel.deleteMany({ project_id });
const aiChatsDeletation = await AiChatModel.deleteMany({ project_id });
//Shields