increase json limit

This commit is contained in:
ItsMalma
2025-11-29 13:03:35 +07:00
parent 84a04da1e6
commit c07d09c4e9
2 changed files with 1 additions and 2 deletions

View File

@@ -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());
}

View File

@@ -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(