Skip to content

Commit

Permalink
Update clients.js
Browse files Browse the repository at this point in the history
  • Loading branch information
vicwere authored Oct 14, 2024
1 parent 01cb59a commit 0f992a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/clients.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0f992a8

Please sign in to comment.