Skip to content

Commit

Permalink
fix: prettier format
Browse files Browse the repository at this point in the history
  • Loading branch information
bertux committed Apr 21, 2022
1 parent e6f0291 commit 658c417
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions packages/payment-processor/src/payment/utils.ts
Expand Up @@ -81,9 +81,7 @@ export function getPaymentNetworkExtension(
* of a Request.
* @param request
*/
export function getRequestPaymentValues(
request: ClientTypes.IRequestData,
): {
export function getRequestPaymentValues(request: ClientTypes.IRequestData): {
paymentAddress: string;
paymentReference: string;
feeAmount?: string;
Expand Down Expand Up @@ -193,9 +191,8 @@ export function validateRequest(
request: ClientTypes.IRequestData,
paymentNetworkId: PaymentTypes.PAYMENT_NETWORK_ID,
): void {
const { feeAmount, feeAddress, expectedFlowRate, expectedStartDate } = getRequestPaymentValues(
request,
);
const { feeAmount, feeAddress, expectedFlowRate, expectedStartDate } =
getRequestPaymentValues(request);
const extension = request.extensions[paymentNetworkId];

// Compatibility of the request currency type with the payment network
Expand Down

0 comments on commit 658c417

Please sign in to comment.