Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Mar 25, 2024
1 parent 2b75581 commit 95f2dcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions MyApp.ServiceInterface/Data/QuestionsProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ public List<string> GetAnswerModelsFor(string? userName)
{
WriteIndented = true
};

public string ToJson<T>(T obj) => System.Text.Json.JsonSerializer.Serialize(obj, SystemJsonOptions);

public QuestionFiles GetLocalQuestionFiles(int id)
{
Expand Down Expand Up @@ -80,8 +82,6 @@ public static string GetMetaPath(int id)
return path;
}

public string ToJson<T>(T obj) => System.Text.Json.JsonSerializer.Serialize(obj, SystemJsonOptions);

public async Task SaveFileAsync(string file, string contents)
{
await Task.WhenAll(
Expand Down
2 changes: 1 addition & 1 deletion MyApp.ServiceInterface/JobServices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
};
}
Expand Down

0 comments on commit 95f2dcb

Please sign in to comment.