Skip to content
Snippets Groups Projects
Commit ae1e211f authored by esantangelo's avatar esantangelo
Browse files

fix chat hub

parent eac585aa
No related branches found
No related tags found
No related merge requests found
Pipeline #10671 passed
......@@ -38,7 +38,7 @@ namespace Tsi1.Api.SignalR
{
var httpContext = Context.GetHttpContext();
var otherUserId = int.Parse(httpContext.Request.Query["id"].ToString());
var otherUserId = int.Parse(httpContext.Request.Query["user"].ToString());
var userId = int.Parse(Context.User.Claims.FirstOrDefault(x => x.Type == "Id").Value);
var tenantId = int.Parse(Context.User.Claims.FirstOrDefault(x => x.Type == "TenantId").Value);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment