feat: fix nullable and card

This commit is contained in:
Nevo David 2025-05-03 14:02:42 +07:00
parent 76621e89ed
commit 2fbc851516
2 changed files with 2 additions and 1 deletions

View File

@ -75,6 +75,7 @@ const contentZod = (
content: z.string().describe('Content for the new post'),
website: z
.string()
.nullable()
.optional()
.describe(
"Website for the new post if exists, If one of the post present a brand, website link must be to the root domain of the brand or don't include it, website url should contain the brand name"

View File

@ -75,7 +75,7 @@ export class StripeService {
return current;
}
return prev;
});
}, {created: -100} as Stripe.PaymentMethod);
try {
const paymentIntent = await stripe.paymentIntents.create({