From 5a51f9a31aab52a0a41d5ee6f61d2242bf8b62c4 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Tue, 9 May 2023 16:02:19 -0400 Subject: [PATCH] fix(striker-ui-api): don't list get server screenshot jobs --- striker-ui-api/src/lib/request_handlers/job/getJob.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/striker-ui-api/src/lib/request_handlers/job/getJob.ts b/striker-ui-api/src/lib/request_handlers/job/getJob.ts index 3fb670e3..529478f8 100644 --- a/striker-ui-api/src/lib/request_handlers/job/getJob.ts +++ b/striker-ui-api/src/lib/request_handlers/job/getJob.ts @@ -77,6 +77,6 @@ export const getJob = buildGetRequestHandler((request, buildQueryOptions) => { FROM jobs AS job JOIN hosts AS hos ON job.job_host_uuid = hos.host_uuid - WHERE job.job_progress < 100 - ${condModifiedDate};`; + WHERE (job.job_progress < 100 ${condModifiedDate}) + AND job_name NOT LIKE 'get_server_screenshot%';`; });