2
0

🐛 (usage) Fix storage limit check

This commit is contained in:
Baptiste Arnaud
2022-09-21 08:00:25 +02:00
committed by Baptiste Arnaud
parent 1063429275
commit 1e26703ad4
6 changed files with 14 additions and 7 deletions

View File

@ -174,6 +174,10 @@ const updateSubscription = async (req: NextApiRequest) => {
plan,
additionalChatsIndex: additionalChats,
additionalStorageIndex: additionalStorage,
chatsLimitFirstEmailSentAt: null,
chatsLimitSecondEmailSentAt: null,
storageLimitFirstEmailSentAt: null,
storageLimitSecondEmailSentAt: null,
},
})
}