Skip to content

Commit

Permalink
Add @web.authenticated for ListingsHandler's GET method (#457)
Browse files Browse the repository at this point in the history
* Add `@web.authenticated` for `ListingsHandler`'s `GET` method

* Fix name
  • Loading branch information
krassowski authored Jul 22, 2024
1 parent f88b5cb commit bca8978
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jupyterlab_server/listings_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ class ListingsHandler(APIHandler):
# The PeriodicCallback that schedule the call to fetch_listings method.
pc = None

@tornado.web.authenticated
def get(self, path: str) -> None:
"""Get the listings for the extension manager."""
self.set_header("Content-Type", "application/json")
Expand Down

0 comments on commit bca8978

Please sign in to comment.