aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOgnjen Cirkovic <ciraboxkg@gmail.com>2022-11-20 23:46:06 +0100
committerOgnjen Cirkovic <ciraboxkg@gmail.com>2022-11-20 23:46:06 +0100
commitf101c0461ac1ff0b0a910313bdde155fbb61f8bd (patch)
tree175f639ade011f06da5cf45b86b78f6d716c589f
parent27151d7c43968add8c8866f159de58c6c035c468 (diff)
ChatHub ispravka.
-rw-r--r--Backend/Api/Api/Services/ChatHub.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/Backend/Api/Api/Services/ChatHub.cs b/Backend/Api/Api/Services/ChatHub.cs
index 4092d8f..e0bf5df 100644
--- a/Backend/Api/Api/Services/ChatHub.cs
+++ b/Backend/Api/Api/Services/ChatHub.cs
@@ -1,12 +1,13 @@
-using Microsoft.AspNetCore.SignalR;
+using Api.Interfaces;
+using Microsoft.AspNetCore.SignalR;
namespace Api.Services
{
public class ChatHub:Hub
{
static public readonly Dictionary<string, string> Users = new Dictionary<string, string>();
- private readonly JwtService _jwtService;
- public ChatHub(JwtService jwtService)
+ private readonly IJwtService _jwtService;
+ public ChatHub(IJwtService jwtService)
{
_jwtService = jwtService;
}