mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
fix result type, fixup responses from the ui to api
todo unify json responses from webserve.py
This commit is contained in:
parent
8b0959aa69
commit
11c7342299
2 changed files with 37 additions and 44 deletions
|
@ -329,6 +329,7 @@ class WebInterface(object):
|
|||
@cherrypy.expose
|
||||
@cherrypy.tools.json_out()
|
||||
@requireAuth(member_of("admin"))
|
||||
@addtoapi()
|
||||
def delete_temp_sessions(self, **kwargs):
|
||||
|
||||
result = database.delete_sessions()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue