From b42a0c451eb93efcdf70d94f3bb116bf9e1d0055 Mon Sep 17 00:00:00 2001 From: tpz Date: Thu, 7 Dec 2023 14:54:05 +0100 Subject: [PATCH] fix: incorrect name of query validator template file in download URL --- EvitaDB.QueryValidator/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EvitaDB.QueryValidator/Program.cs b/EvitaDB.QueryValidator/Program.cs index abe3e81..6dadffc 100644 --- a/EvitaDB.QueryValidator/Program.cs +++ b/EvitaDB.QueryValidator/Program.cs @@ -211,7 +211,7 @@ private static void DownloadQueryTemplate() using HttpClient client = new HttpClient(); HttpResponseMessage response = client .GetAsync( - "https://raw.githubusercontent.com/FgForrest/evitaDB-C-Sharp-client/master/EvitaDB.QueryValidator/csharp_query_template.txt") + $"https://raw.githubusercontent.com/FgForrest/evitaDB-C-Sharp-client/master/EvitaDB.QueryValidator/{QueryReplacementFileName}") .GetAwaiter().GetResult(); response.EnsureSuccessStatusCode(); using Stream contentStream = response.Content.ReadAsStreamAsync().GetAwaiter().GetResult(),