aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}