From f101c0461ac1ff0b0a910313bdde155fbb61f8bd Mon Sep 17 00:00:00 2001 From: Ognjen Cirkovic Date: Sun, 20 Nov 2022 23:46:06 +0100 Subject: ChatHub ispravka. --- Backend/Api/Api/Services/ChatHub.cs | 7 ++++--- 1 file 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 Users = new Dictionary(); - private readonly JwtService _jwtService; - public ChatHub(JwtService jwtService) + private readonly IJwtService _jwtService; + public ChatHub(IJwtService jwtService) { _jwtService = jwtService; } -- cgit v1.2.3