Skip to content

Commit

Permalink
feat: restore atc sector check
Browse files Browse the repository at this point in the history
  • Loading branch information
xfoxfu committed Nov 11, 2024
1 parent 9505f02 commit 1797ba2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Net.Vatprc.Uniapi/Controllers/SectorController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ public SectorPermissionResponse(bool hasPermission)
[HttpGet("current/permission")]
public async Task<SectorPermissionResponse> GetPermission()
{
// TODO: hotfix for ATC center downtime
return new SectorPermissionResponse(true);
var user = await DbContext.User.FindAsync(this.GetUserId()) ??
throw new ApiError.UserNotFound(this.GetUserId());

Expand Down

0 comments on commit 1797ba2

Please sign in to comment.