Skip to content

Commit

Permalink
style(): minor foramtting tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed May 17, 2022
1 parent 2eaee87 commit 71e3143
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Controller, Post, Req, RawBodyRequest } from '@nestjs/common';
import { Controller, Post, RawBodyRequest, Req } from '@nestjs/common';
import { Request } from 'express';

@Controller()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Controller, Post, Req, RawBodyRequest } from '@nestjs/common';
import { Controller, Post, RawBodyRequest, Req } from '@nestjs/common';
import type { FastifyRequest } from 'fastify';

@Controller()
Expand Down
3 changes: 1 addition & 2 deletions packages/platform-express/adapters/express-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import { AbstractHttpAdapter } from '@nestjs/core/adapters/http-adapter';
import { RouterMethodFactory } from '@nestjs/core/helpers/router-method-factory';
import {
json as bodyParserJson,
urlencoded as bodyParserUrlencoded,
OptionsJson,
urlencoded as bodyParserUrlencoded,
} from 'body-parser';
import * as cors from 'cors';
import * as express from 'express';
Expand Down Expand Up @@ -186,7 +186,6 @@ export class ExpressAdapter extends AbstractHttpAdapter {
if (Buffer.isBuffer(buffer)) {
req.rawBody = buffer;
}

return true;
},
};
Expand Down

0 comments on commit 71e3143

Please sign in to comment.