Skip to content

Commit

Permalink
Update src/Plugins/Pagination.js
Browse files Browse the repository at this point in the history
Co-authored-by: uncenter <[email protected]>
  • Loading branch information
Snapstromegon and uncenter authored Dec 19, 2023
1 parent 9e0a9cb commit 804470e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugins/Pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class Pagination {
const hasInclude = "include" in this.data.pagination;
const hasExclude = "exclude" in this.data.pagination;
if (hasInclude && hasExclude) {
throw new Error("Pagination cannot have both `include` and `exclude` filters.");
throw new Error("Pagination cannot have both `include` and `exclude` properties.");
}
if (hasInclude) {
let included = this.data.pagination.include;
Expand Down

0 comments on commit 804470e

Please sign in to comment.