increase json limit
This commit is contained in:
@@ -65,7 +65,7 @@ export class Application {
|
||||
this._app.use(helmet());
|
||||
this._app.use(cors());
|
||||
this._app.use(compression());
|
||||
this._app.use(express.json({ limit: "1mb" }));
|
||||
this._app.use(express.json({ limit: "100mb" }));
|
||||
this._app.use(express.urlencoded());
|
||||
}
|
||||
|
||||
|
||||
@@ -64,7 +64,6 @@ export class PackageMapper {
|
||||
}
|
||||
|
||||
private mapHotelSchedule(hotelSchedule: HotelSchedule): PackageHotelResponse {
|
||||
console.log(hotelSchedule.checkIn);
|
||||
const checkIn = dateFns.parse(hotelSchedule.checkIn, "H:mm:ss", new Date());
|
||||
|
||||
const checkOut = dateFns.parse(
|
||||
|
||||
Reference in New Issue
Block a user