Skip to content

Commit

Permalink
Fix lint + prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
NghiaDTr committed Jul 19, 2024
1 parent 2c44362 commit c3b3541
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions processor/src/controllers/processor.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { apiSuccess } from '../api/success.api';
import { ControllerResponseType } from '../types/controller.types';
import { ExtensionInput } from '@commercetools/platform-sdk/dist/declarations/src/generated/models/extension';
import { logger } from '../utils/logger.utils';
import { NextFunction, Request, Response } from 'express';
import { Request, Response } from 'express';
import { paymentController } from './payment.controller';
import CustomError from '../errors/custom.error';
import SkipError from '../errors/skip.error';
Expand All @@ -16,10 +16,9 @@ import { formatErrorResponse } from '../errors/mollie.error';
*
* @param {Request} request The express request
* @param {Response} response The express response
* @param {NextFunction} next
* @returns
*/
export const post = async (request: Request, response: Response, next: NextFunction) => {
export const post = async (request: Request, response: Response) => {
try {
const { action, resource }: ExtensionInput = request.body;

Expand Down
2 changes: 1 addition & 1 deletion processor/tests/utils/map.utils.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ describe('createMollieCreatePaymentParams', () => {
shippingAddress: {},
testmode: null,
cardToken: '',
include: ''
include: '',
});
});

Expand Down

0 comments on commit c3b3541

Please sign in to comment.