Browse Source

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

Michael Bromley 3 years ago
parent
commit
26d858c15a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/payments-plugin/src/mollie/mollie.controller.ts

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

@@ -19,7 +19,7 @@ export class MollieController {
         }
         try {
             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);
             throw error;
         }