Skip to content

Commit

Permalink
Merge pull request #71 from dbmi-pitt/Derek-Furst/adaptor-generate-ma…
Browse files Browse the repository at this point in the history
…nifest

applied earlier query param fix to search and search by index endpoints
  • Loading branch information
yuanzhou authored Jul 24, 2024
2 parents 0ab99a4 + bf91cf1 commit 78a1131
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def search(self):
if bool(request.args):
produce_manifest = request.args.get('produce-clt-manifest')

if produce_manifest.lower() == "true":
if produce_manifest and produce_manifest.lower() == "true":
generate_manifest = True

if generate_manifest is True:
Expand Down Expand Up @@ -660,7 +660,7 @@ def search_by_index(self, index_without_prefix):
if bool(request.args):
produce_manifest = request.args.get('produce-clt-manifest')

if produce_manifest.lower() == "true":
if produce_manifest and produce_manifest.lower() == "true":
generate_manifest = True

if generate_manifest is True:
Expand Down

0 comments on commit 78a1131

Please sign in to comment.