🔄 cleanup: more order logic cleanup on the admin side mostly
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { CustomerInfo } from "$lib/domains/passengerinfo/data/entities";
|
||||
import type { PaymentDetailsPayload } from "$lib/domains/paymentinfo/data/entities";
|
||||
import type { PaymentInfoPayload } from "$lib/domains/paymentinfo/data/entities";
|
||||
import { db } from "@pkg/db";
|
||||
import { isTimestampMoreThan1MinAgo } from "@pkg/logic/core/date.utils";
|
||||
import type {
|
||||
@@ -58,7 +58,7 @@ export class CheckoutFlowUseCases {
|
||||
return this.repo.syncPersonalInfo(flowId, personalInfo);
|
||||
}
|
||||
|
||||
async syncPaymentInfo(flowId: string, paymentInfo: PaymentDetailsPayload) {
|
||||
async syncPaymentInfo(flowId: string, paymentInfo: PaymentInfoPayload) {
|
||||
return this.repo.syncPaymentInfo(flowId, paymentInfo);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user