We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d7a783 commit 91d5ef7Copy full SHA for 91d5ef7
invenio_app_ils/closures/views.py
@@ -23,7 +23,7 @@
23
def create_closures_blueprint(app):
24
"""Create location closed periods blueprint."""
25
blueprint = Blueprint("invenio_app_ils_closures", __name__, url_prefix="")
26
- endpoints = app.config.get("RECORDS_REST_ENDPOINTS", [])
+ endpoints = app.config["RECORDS_REST_ENDPOINTS"]
27
28
options = endpoints[LOCATION_PID_TYPE]
29
default_media_type = options.get("default_media_type", "")
0 commit comments