added todo, deleted empty folder

This commit is contained in:
2024-08-22 21:14:10 +03:00
parent e3060c663f
commit 300d8afd93
2 changed files with 1 additions and 4 deletions

View File

@@ -14,8 +14,4 @@
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.0-preview.7.24405.7" />
</ItemGroup>
<ItemGroup>
<Folder Include="Services\VisaApplications\Handlers\Exceptions\" />
</ItemGroup>
</Project>

View File

@@ -77,6 +77,7 @@ namespace SchengenVisaApi.Controllers
[ProducesResponseType(StatusCodes.Status401Unauthorized)]
[Route("authority/{authorityAccountId:guid}")]
[Authorize(policy: PolicyConstants.AdminPolicy)]
//todo replace args with ChangeAuthorityAuthDataRequest or something
public async Task<IActionResult> ChangeAuthorityAuthData(Guid authorityAccountId, RegisterRequest authData, CancellationToken cancellationToken)
{
await authorityService.ChangeAccountAuthDataAsync(authorityAccountId, authData, cancellationToken);