mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 21:35:19 +00:00
fix: check db initialisation on getOrCreateCloudUser
This commit is contained in:
@@ -41,10 +41,6 @@ export default async function CloudPaymentSuccessPage({
|
||||
aiBalance: plan?.limits.ai,
|
||||
})
|
||||
|
||||
if (await isDatabaseEmpty(user.id)) {
|
||||
await createUserDefaults(user.id)
|
||||
}
|
||||
|
||||
return (
|
||||
<Card className="w-full max-w-xl mx-auto p-8 flex flex-col items-center justify-center gap-4">
|
||||
<Cake className="w-36 h-36" />
|
||||
|
||||
Reference in New Issue
Block a user