Skip to content

Commit

Permalink
Update SessionController.cs
Browse files Browse the repository at this point in the history
remove test endpoint
  • Loading branch information
chsami committed May 18, 2024
1 parent 0c68825 commit a646940
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions MicrobotApi/Controllers/SessionController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,6 @@ public IActionResult CountLoggedIn()
return Ok(GetCachedLoggedInCount());
}

[HttpGet("count/test")]
public IActionResult Tester()
{
return Ok(_configuration.GetConnectionString("MicrobotContext"));
}

private int GetCachedCount()
{
if (!_memoryCache.TryGetValue("CachedCount", out int cachedData))
Expand Down

0 comments on commit a646940

Please sign in to comment.