From 5aaa99fa0ea2de5f6cad4b9d2662e17d2c1642b8 Mon Sep 17 00:00:00 2001 From: Anbraten Date: Wed, 8 Nov 2023 14:14:19 +0100 Subject: [PATCH] fix: resolve issue with mocked customer creation (#70) --- packages/server/src/payment_providers/mocked.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/server/src/payment_providers/mocked.ts b/packages/server/src/payment_providers/mocked.ts index 81d77ee..f4d5315 100644 --- a/packages/server/src/payment_providers/mocked.ts +++ b/packages/server/src/payment_providers/mocked.ts @@ -41,6 +41,7 @@ export class Mocked implements PaymentProvider { // eslint-disable-next-line @typescript-eslint/require-await async createCustomer(customer: Customer): Promise { + customer.paymentProviderId = 'mocked-123'; return customer; }