From 88eefd0aeb87888628e215ee81ae588625af5f35 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Fri, 3 Mar 2023 14:01:11 +0100 Subject: [bugfix] Clamp admin report limit <1 to 100 (#1583) * [bugfix] Clamp report limit <1 to 100 * add + update tests --- docs/api/swagger.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/api') diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml index 783e1147e..e9719f43e 100644 --- a/docs/api/swagger.yaml +++ b/docs/api/swagger.yaml @@ -3763,7 +3763,7 @@ paths: name: min_id type: string - default: 20 - description: Number of reports to return. If less than 1, will be clamped to 1. If more than 100, will be clamped to 100. + description: Number of reports to return. If more than 100 or less than 1, will be clamped to 100. in: query name: limit type: integer -- cgit v1.2.3