1
0
Эх сурвалжийг харах

chore(payments-plugin): Fix TS error from merge

Michael Bromley 3 жил өмнө
parent
commit
26d858c15a

+ 1 - 1
packages/payments-plugin/src/mollie/mollie.controller.ts

@@ -19,7 +19,7 @@ export class MollieController {
         }
         }
         try {
         try {
             await this.mollieService.settlePayment({ channelToken, paymentMethodId, paymentId: body.id });
             await this.mollieService.settlePayment({ channelToken, paymentMethodId, paymentId: body.id });
-        } catch (error) {
+        } catch (error: any) {
             Logger.error(`Failed to process incoming webhook: ${error?.message}`, loggerCtx, error);
             Logger.error(`Failed to process incoming webhook: ${error?.message}`, loggerCtx, error);
             throw error;
             throw error;
         }
         }