Skip to content

Commit

Permalink
feat: Removed the email from updatePaymentMethod
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayur committed Nov 8, 2024
1 parent 76389df commit 393b505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/components/AddCard/ChangeCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export function ChangeCard({ email, projectId }: ChangeCardModalContentProps) {
const sortedMethods = orderPaymentMethods();
setDisplayedPaymentMethods(sortedMethods);

await updatePaymentMethod({ paymentMethodId: selectedPaymentMethod, email });
await updatePaymentMethod({ paymentMethodId: selectedPaymentMethod });
const newActiveCard = paymentMethods?.find(
(method: ICardData) => method.paymentMethodId === selectedPaymentMethod
);
Expand Down

0 comments on commit 393b505

Please sign in to comment.