diff --git a/MyApp.ServiceInterface/Data/QuestionsProvider.cs b/MyApp.ServiceInterface/Data/QuestionsProvider.cs index 95b4a54..056f423 100644 --- a/MyApp.ServiceInterface/Data/QuestionsProvider.cs +++ b/MyApp.ServiceInterface/Data/QuestionsProvider.cs @@ -34,6 +34,8 @@ public List GetAnswerModelsFor(string? userName) { WriteIndented = true }; + + public string ToJson(T obj) => System.Text.Json.JsonSerializer.Serialize(obj, SystemJsonOptions); public QuestionFiles GetLocalQuestionFiles(int id) { @@ -80,8 +82,6 @@ public static string GetMetaPath(int id) return path; } - public string ToJson(T obj) => System.Text.Json.JsonSerializer.Serialize(obj, SystemJsonOptions); - public async Task SaveFileAsync(string file, string contents) { await Task.WhenAll( diff --git a/MyApp.ServiceInterface/JobServices.cs b/MyApp.ServiceInterface/JobServices.cs index ea77318..716df7e 100644 --- a/MyApp.ServiceInterface/JobServices.cs +++ b/MyApp.ServiceInterface/JobServices.cs @@ -57,7 +57,7 @@ public object Any(RestoreModelQueues request) $"{pendingJobs.Count} pending jobs in queue", $"{incompleteJobs.Count} incomplete jobs in database", $"{startedJobs.Count} jobs being processed by workers", - $"{missingJobs.Count} missing and ${lostJobs.Count} lost jobs re-added to queue", + $"{missingJobs.Count} missing and {lostJobs.Count} lost jobs re-added to queue", ] }; }