From 0f992a839da21514cababb5d22037c979ea94be5 Mon Sep 17 00:00:00 2001 From: vicwere <99466710+vicwere@users.noreply.github.com> Date: Mon, 14 Oct 2024 16:41:36 +0300 Subject: [PATCH] Update clients.js --- routes/clients.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/clients.js b/routes/clients.js index 4a84a7b..e347c6a 100644 --- a/routes/clients.js +++ b/routes/clients.js @@ -9,7 +9,7 @@ const { User } = require("../models/user"); const { masterFacility } = require("../models/master_facility"); router.get("/", async (req, res) => { - let clients = await Client.findAll({ limit: 100 }); + let clients = await Client.findAll({ limit: 0 }); if (!clients) return res.status(400).send("No Clients found"); res.send( clients.map(