mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Merge pull request #898 from Hellowlol/ap_fix
fix result type, fixup responses from the ui to api
This commit is contained in:
commit
21d9091b43
3 changed files with 78 additions and 57 deletions
|
@ -329,7 +329,18 @@ class WebInterface(object):
|
|||
@cherrypy.expose
|
||||
@cherrypy.tools.json_out()
|
||||
@requireAuth(member_of("admin"))
|
||||
@addtoapi()
|
||||
def delete_temp_sessions(self, **kwargs):
|
||||
""" Flush out all of the temporary sessions in the database.
|
||||
|
||||
```
|
||||
Required parameters:
|
||||
None
|
||||
|
||||
Required parameters:
|
||||
None
|
||||
```
|
||||
"""
|
||||
|
||||
result = database.delete_sessions()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue