Skip to content

Commit

Permalink
Fix: specify limit to load more than 10 apps
Browse files Browse the repository at this point in the history
Signed-off-by: marcopiraccini <marco.piraccini@gmail.com>
  • Loading branch information
marcopiraccini committed May 13, 2024
1 parent 917acde commit 41772af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/lib/applications.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ class Applications {
}

async #getApps () {
return this.#mapper.entities.application.find({})
// Temporary, we need to paginate this
return this.#mapper.entities.application.find({ limit: 100 })
}

// If there is a new running application, this is imported automatically
Expand Down

0 comments on commit 41772af

Please sign in to comment.