Skip to content

Commit bca8978

Browse files
authored
Add @web.authenticated for ListingsHandler's GET method (#457)
* Add `@web.authenticated` for `ListingsHandler`'s `GET` method * Fix name
1 parent f88b5cb commit bca8978

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jupyterlab_server/listings_handler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ class ListingsHandler(APIHandler):
8282
# The PeriodicCallback that schedule the call to fetch_listings method.
8383
pc = None
8484

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

0 commit comments

Comments
 (0)