Skip to content

Commit

Permalink
Add a per page max
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Apr 10, 2022
1 parent f18ad01 commit 9ad6119
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions routes/api/bookmarks.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export default async function bookmarkRoutes (fastify, opts) {
per_page: {
type: 'integer',
minimum: 1,
maximum: 200,
default: 20
}
},
Expand Down

0 comments on commit 9ad6119

Please sign in to comment.