From d9f9752187edef47c7ad94017965c5cbd9732fe6 Mon Sep 17 00:00:00 2001 From: Kristian Ivanov Date: Wed, 12 Jun 2024 22:54:47 +0300 Subject: [PATCH] Fix --- src/server/CookingApp/Controllers/ChatController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/CookingApp/Controllers/ChatController.cs b/src/server/CookingApp/Controllers/ChatController.cs index ffca77b8..dcbb8f7b 100644 --- a/src/server/CookingApp/Controllers/ChatController.cs +++ b/src/server/CookingApp/Controllers/ChatController.cs @@ -74,7 +74,7 @@ public async Task CreateChat([FromBody] string message) } - [HttpPost("chat/{id}")] + [HttpPost("chat/{id:string}")] public async Task SendQuery([FromBody] string message, [FromRoute] string? id = null) { try