Skip to content

Commit

Permalink
Remove unused 'issuer'
Browse files Browse the repository at this point in the history
  • Loading branch information
NghiaDTr committed Nov 19, 2024
1 parent 31c5a27 commit f85a9ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processor/src/service/payment.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ export const handleCreatePayment = async (ctPayment: Payment): Promise<Controlle

const cart = await getCartFromPayment(ctPayment.id);

const [method, issuer] = ctPayment?.paymentMethodInfo?.method?.split(',') ?? [null, null];
const [method, ] = ctPayment?.paymentMethodInfo?.method?.split(',') ?? [null, null];

Check failure on line 396 in processor/src/service/payment.service.ts

View workflow job for this annotation

GitHub Actions / build-processor

Delete `,·`

logger.debug(`SCTM - handleCreatePayment - Getting customized configuration for payment method: ${method}`);
const paymentMethodConfig = await getSingleMethodConfigObject(method as string);
Expand Down

0 comments on commit f85a9ac

Please sign in to comment.