API cleanup

This commit is contained in:
Brett Williams
2023-05-28 01:17:10 -05:00
parent bac069201f
commit 4911ed538d
4 changed files with 30 additions and 33 deletions

View File

@@ -138,7 +138,7 @@ def get_job_logs(job_id):
@server.get('/api/job/<job_id>/file_list')
def get_file_list(job_id):
return RenderQueue.job_with_id(job_id)
return RenderQueue.job_with_id(job_id).file_list()
@server.route('/api/job/<job_id>/download_all')