diff --git a/lib/autoPagination.js b/lib/autoPagination.js index 854ef7e7a9..0858aa38ea 100644 --- a/lib/autoPagination.js +++ b/lib/autoPagination.js @@ -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; @@ -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}` ); }