Skip to content

Commit

Permalink
Fix Bug #9
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanJosipovic committed Oct 2, 2020
1 parent d6df5d3 commit 757ed26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BlazorApplicationInsights/ApplicationInsights.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public async Task ClearAuthenticatedUserContext()

public async Task SetAuthenticatedUserContext(string authenticatedUserId, string? accountId = null, bool storeInCookie = false)
{
await JSRuntime.InvokeVoidAsync("appInsights.clearAuthenticatedUserContext", new { authenticatedUserId, accountId, storeInCookie });
await JSRuntime.InvokeVoidAsync("appInsights.setAuthenticatedUserContext", new { authenticatedUserId, accountId, storeInCookie });
}
}
}

0 comments on commit 757ed26

Please sign in to comment.