Skip to content

Commit 539d0e6

Browse files
committed
fix: typo in pix automatic type
1 parent 026d612 commit 539d0e6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/types/payments/paymentRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,11 @@ export type PaymentRequest = {
149149
clientPaymentId: string | null
150150
}
151151

152-
export type PaymentRequesAutomaticPix = Omit<PaymentRequest, 'amount'>
152+
export type PaymentRequestAutomaticPix = Omit<PaymentRequest, 'amount'>
153153

154154
export type CallbackUrls = {
155155
success?: string
156156
error?: string
157157
}
158158

159-
export type CreatePaymentRequestAutomaticPix = Pick<CreatePaymentRequest, 'description' | 'recipientId' | 'customerId' | 'callbackUrls' | 'clientPaymentId'> & PaymentRequestAutomaticPix
159+
export type CreatePaymentRequestAutomaticPix = Pick<CreatePaymentRequest, 'description' | 'recipientId' | 'customerId' | 'callbackUrls' | 'clientPaymentId'> & PaymentRequestAutomaticPixDetails

0 commit comments

Comments
 (0)