Skip to content

Commit

Permalink
Merge pull request #1096 from kaznovac/fix-typos
Browse files Browse the repository at this point in the history
typo receieved -> received
  • Loading branch information
remi-stripe committed Dec 26, 2020
2 parents 7d30a6a + 72636ce commit ec960ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/autoPagination.js
Expand Up @@ -89,7 +89,7 @@ function getDoneCallback(args) {
const onDone = args[1];
if (typeof onDone !== 'function') {
throw Error(
`The second argument to autoPagingEach, if present, must be a callback function; receieved ${typeof onDone}`
`The second argument to autoPagingEach, if present, must be a callback function; received ${typeof onDone}`
);
}
return onDone;
Expand All @@ -113,7 +113,7 @@ function getItemCallback(args) {
const onItem = args[0];
if (typeof onItem !== 'function') {
throw Error(
`The first argument to autoPagingEach, if present, must be a callback function; receieved ${typeof onItem}`
`The first argument to autoPagingEach, if present, must be a callback function; received ${typeof onItem}`
);
}

Expand Down

0 comments on commit ec960ea

Please sign in to comment.