From fe0d11f682db60057509c8e93bda320dc186a5bd Mon Sep 17 00:00:00 2001 From: Demis Bellot Date: Mon, 25 Mar 2024 20:22:28 +0800 Subject: [PATCH] Update QuestionsProvider.cs --- MyApp.ServiceInterface/Data/QuestionsProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MyApp.ServiceInterface/Data/QuestionsProvider.cs b/MyApp.ServiceInterface/Data/QuestionsProvider.cs index 79a301b..be4eab3 100644 --- a/MyApp.ServiceInterface/Data/QuestionsProvider.cs +++ b/MyApp.ServiceInterface/Data/QuestionsProvider.cs @@ -71,7 +71,7 @@ public static string GetQuestionPath(int id) public static string GetModelAnswerPath(int id, string model) { var (dir1, dir2, fileId) = id.ToFileParts(); - var path = $"{dir1}/{dir2}/{fileId}.a.{model}.json"; + var path = $"{dir1}/{dir2}/{fileId}.a.{model.Replace(':','-')}.json"; return path; }