feat: fix nullable and card
This commit is contained in:
parent
76621e89ed
commit
2fbc851516
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ export class StripeService {
|
|||
return current;
|
||||
}
|
||||
return prev;
|
||||
});
|
||||
}, {created: -100} as Stripe.PaymentMethod);
|
||||
|
||||
try {
|
||||
const paymentIntent = await stripe.paymentIntents.create({
|
||||
|
|
|
|||
Loading…
Reference in New Issue