file_manager: fix thumbnails endpoint registration

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2023-01-31 06:10:19 -05:00
parent 55e852cd87
commit fb618a46fd
No known key found for this signature in database
GPG Key ID: 5A1EB336DFB4C71B
1 changed files with 2 additions and 3 deletions

View File

@ -90,6 +90,8 @@ class FileManager:
"/server/files/list", ['GET'], self._handle_filelist_request)
self.server.register_endpoint(
"/server/files/metadata", ['GET'], self._handle_metadata_request)
self.server.register_endpoint(
"/server/files/thumbnails", ['GET'], self._handle_list_thumbs)
self.server.register_endpoint(
"/server/files/roots", ['GET'], self._handle_list_roots)
self.server.register_endpoint(
@ -104,9 +106,6 @@ class FileManager:
self.server.register_endpoint(
"/server/files/delete_file", ['DELETE'], self._handle_file_delete,
transports=["websocket"])
self.server.register_endpoint(
"/server/files/thumbnails", ['GET'], self._handle_list_thumbs,
transports=["websocket"])
# register client notificaitons
self.server.register_notification("file_manager:filelist_changed")