Merge branch 'master' into develop

This commit is contained in:
Jonas F
2025-01-13 21:19:45 +01:00
committed by GitHub
2 changed files with 31 additions and 32 deletions

View File

@@ -68,7 +68,7 @@ public static class ServicesExtensions
Console.WriteLine(($"Property {failure.PropertyName } failed validation. Error was: {failure.ErrorMessage}")); Console.WriteLine(($"Property {failure.PropertyName } failed validation. Error was: {failure.ErrorMessage}"));
} }
throw new Exception("Please fix your environment variables and then Start UmlautAdaptarr again"); throw new Exception("Please fix cour environment variables and then Start UmlautAdaptarr again");
} }
var instanceState = (bool)(typeof(TOptions).GetProperty("Enabled")?.GetValue(option, null) ?? false); var instanceState = (bool)(typeof(TOptions).GetProperty("Enabled")?.GetValue(option, null) ?? false);

View File

@@ -68,5 +68,4 @@ public class GlobalInstanceOptionsValidator : AbstractValidator<GlobalInstanceOp
} }
return reachable; return reachable;
}
} }