Skip to content

Commit

Permalink
fix(next): fix typo; follow up to PR #698
Browse files Browse the repository at this point in the history
Fixes #527
  • Loading branch information
fiasco authored Feb 23, 2024
1 parent 8cf5204 commit fda9709
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ protected function getJsonApiParams(Request $request, ResourceType $resource_typ
$max = $page['limit'];
}

$params[OffsetPage::KEY_NAME] = new OffsetPage($query['offset'] ?? OffsetPage::DEFAULT_OFFSET, $max);
$params[OffsetPage::KEY_NAME] = new OffsetPage($page['offset'] ?? OffsetPage::DEFAULT_OFFSET, $max);

return $params;
}
Expand Down

0 comments on commit fda9709

Please sign in to comment.