Skip to content

Commit

Permalink
fix getid call
Browse files Browse the repository at this point in the history
  • Loading branch information
mekarpeles authored Sep 27, 2024
1 parent a3c7e1f commit 74d069a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iiify/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ def index():

@app.route('/iiif/collection.json')
def catalog():
cursor = request.args.get('cursor', '')
q = request.args.get('q', '')
cursor = request.args.get('cursor', '')
domain = purify_domain(request.args.get('domain', request.url_root))
return ldjsonify(collection(domain, getids(q, limit, cursor)['ids']))
return ldjsonify(collection(domain, getids(q, cursor=cursor)['ids']))


@app.route('/iiif/cache')
Expand Down

0 comments on commit 74d069a

Please sign in to comment.