mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[bugfix] Clamp admin report limit <1 to 100 (#1583)
* [bugfix] Clamp report limit <1 to 100 * add + update tests
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user