Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
cannehag committed Jun 5, 2024
1 parent 789a27a commit 7108ca6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Site/Controllers/GarageController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ public async Task<StatusResult> Status()
[HttpPut, HttpGet, Route("toggle"), AllowAnonymous, ApiKey]
public async Task<ToggleResult> TogglePort()
{
if (!HttpContext.User.Identity.IsAuthenticated)
return new ToggleResult { Result = false };

var client = new HttpClient { Timeout = TimeSpan.FromSeconds(10) };

var arg = new KeyValuePair<string, string>("args", "togglePort");
Expand Down

0 comments on commit 7108ca6

Please sign in to comment.