fix(user_status): Use constraint for findAll() offset

Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
provokateurin 2024-12-11 10:19:58 +01:00
parent 5198ef2150
commit 35c4bfd64e
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -46,7 +46,7 @@ class StatusesController extends OCSController {
* Find statuses of users
*
* @param int|null $limit Maximum number of statuses to find
* @param int|null $offset Offset for finding statuses
* @param non-negative-int|null $offset Offset for finding statuses
* @return DataResponse<Http::STATUS_OK, list<UserStatusPublic>, array{}>
*
* 200: Statuses returned

View file

@ -442,7 +442,8 @@
"schema": {
"type": "integer",
"format": "int64",
"nullable": true
"nullable": true,
"minimum": 0
}
},
{