Skip to content

Commit

Permalink
Merge pull request #42056 from nextcloud/chore/dashboard/limit-range-…
Browse files Browse the repository at this point in the history
…items-v1-api

chore(dashboard): Add limit range to items v1 API
  • Loading branch information
nickvergessen authored Dec 7, 2023
2 parents c41cbcf + 310832a commit 4a9f998
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/dashboard/lib/Controller/DashboardApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ static function (IWidget $widget) use ($widgetIds) {
*
* @param array<string, string> $sinceIds Array indexed by widget Ids, contains date/id from which we want the new items
* @param int $limit Limit number of result items per widget
* @psalm-param int<1, 30> $limit
* @param string[] $widgets Limit results to specific widgets
* @return DataResponse<Http::STATUS_OK, array<string, DashboardWidgetItem[]>, array{}>
*
Expand Down

0 comments on commit 4a9f998

Please sign in to comment.