From cac5f428f7cd8e6f33f981bbf932873f78ecca45 Mon Sep 17 00:00:00 2001 From: talafarael <127351345+talafarael@users.noreply.github.com> Date: Sat, 4 May 2024 13:25:19 +0300 Subject: [PATCH] Update authAuction.ts --- src/Router/authAuction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Router/authAuction.ts b/src/Router/authAuction.ts index d8d71b5..8c5543e 100644 --- a/src/Router/authAuction.ts +++ b/src/Router/authAuction.ts @@ -170,7 +170,7 @@ class authAuction { // } async getAuction(req: Request, res: Response) { try { - const auction = await Auction.find().limit(20) + const auction = await Auction.find() res.status(200).json({ auction: auction, message: "Auction created successfully",