From d8e214715a31318fa448b5855fe1898461878ea5 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Thu, 21 Sep 2023 01:19:16 -0400 Subject: [PATCH] fix(striker-ui-api): add host type to file detail --- .../src/lib/request_handlers/file/buildQueryFileDetail.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/striker-ui-api/src/lib/request_handlers/file/buildQueryFileDetail.ts b/striker-ui-api/src/lib/request_handlers/file/buildQueryFileDetail.ts index a6000745..e69bc04f 100644 --- a/striker-ui-api/src/lib/request_handlers/file/buildQueryFileDetail.ts +++ b/striker-ui-api/src/lib/request_handlers/file/buildQueryFileDetail.ts @@ -32,7 +32,8 @@ export const buildQueryFileDetail = ({ anv.anvil_name, anv.anvil_description, hos.host_uuid, - hos.host_name + hos.host_name, + hos.host_type FROM files AS fil JOIN file_locations AS fil_loc ON fil.file_uuid = fil_loc.file_location_file_uuid