mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 16:22:57 -07:00
Fix delete media info cache
This commit is contained in:
parent
5e0c0365fb
commit
93e4853ea2
3 changed files with 20 additions and 20 deletions
|
@ -954,7 +954,7 @@ class WebInterface(object):
|
|||
@cherrypy.tools.json_out()
|
||||
@requireAuth(member_of("admin"))
|
||||
@addtoapi()
|
||||
def delete_datatable_media_info_cache(self, section_id, **kwargs):
|
||||
def delete_media_info_cache(self, section_id, **kwargs):
|
||||
""" Delete the media info table cache for a specific library.
|
||||
|
||||
```
|
||||
|
@ -974,7 +974,7 @@ class WebInterface(object):
|
|||
if section_id not in section_ids:
|
||||
if section_id:
|
||||
library_data = libraries.Libraries()
|
||||
delete_row = library_data.delete_datatable_media_info_cache(section_id=section_id)
|
||||
delete_row = library_data.delete_media_info_cache(section_id=section_id)
|
||||
|
||||
if delete_row:
|
||||
return {'message': delete_row}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue