Skip to content

Commit

Permalink
fix: not honoring offset and limit in Collection query (#82)
Browse files Browse the repository at this point in the history
* fix: not assigning limit and offset from api endpoint

* chore: bump version
  • Loading branch information
wphyojpl authored Sep 8, 2022
1 parent beb2fad commit 61cd1cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def __init__(self, event):
self.__jwt_token = 'NA'
self.__limit = 10
self.__offset = 0
self.__assign_values()
self.__page_number = (self.__offset // self.__limit) + 1
if 'CUMULUS_BASE' not in os.environ:
raise EnvironmentError('missing key: CUMULUS_BASE')
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

setup(
name="cumulus_lambda_functions",
version="1.7.1",
version="1.7.2",
packages=find_packages(),
install_requires=install_requires,
tests_require=['mock', 'nose', 'sphinx', 'sphinx_rtd_theme', 'coverage', 'pystac', 'python-dotenv', 'jsonschema'],
Expand Down

0 comments on commit 61cd1cc

Please sign in to comment.