From 32bc437fe94fcc3df721ac65bb8db80825a6ce85 Mon Sep 17 00:00:00 2001 From: aestene Date: Tue, 18 Oct 2022 14:03:14 +0200 Subject: [PATCH] Fix wrong name for thermal video string conversion --- backend/api/Database/Models/IsarStep.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/api/Database/Models/IsarStep.cs b/backend/api/Database/Models/IsarStep.cs index 53f6fb373..4a66aa155 100644 --- a/backend/api/Database/Models/IsarStep.cs +++ b/backend/api/Database/Models/IsarStep.cs @@ -101,8 +101,7 @@ public static InspectionTypeEnum InspectionTypeFromString(string sensorType) "Audio" => InspectionTypeEnum.Audio, "TakeImage" => InspectionTypeEnum.Image, "TakeVideo" => InspectionTypeEnum.Video, - "TakeThermalImage" => InspectionTypeEnum.ThermalImage, - "TakeThermalVideo" => InspectionTypeEnum.ThermalVideo, + "ThermicVideo" => InspectionTypeEnum.ThermalVideo, _ => InspectionTypeEnum.Image, }; }