Skip to content

Commit 25a2062

Browse files
Fix max limit
1 parent fe79ea0 commit 25a2062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/database/postgres.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ exports.getCategory = async (id) => {
282282
// List of categories graph
283283

284284
exports.getCategories = async () => {
285-
let categories = await models.Category.findAll();
285+
let categories = await models.Category.findAll({limit: 3000});
286286
return categories;
287287
};
288288

0 commit comments

Comments
 (0)