Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

Commit

Permalink
#28 ControllerAuthorizationFix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nypifok committed Dec 11, 2020
1 parent ea7bfb5 commit 60e2504
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ImageBase.WebApp/Controllers/ImagesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,8 @@ private async Task<string> CurrentUser()
return null;
}
}
[AllowAnonymous]
[HttpGet("[action]")]
public async Task<ActionResult<ImageDto>> Search([FromBody] FullTextSeacrhDto fullTextSeacrhDto)
public async Task<ActionResult<ImageDto>> Search(FullTextSeacrhDto fullTextSeacrhDto)
{
ServiceResponse<PaginationListDto<Image>> serviceSearch = await _imagesService.FullTextSearchByImagesAsync(fullTextSeacrhDto);
if (serviceSearch.Success == false)
Expand Down

0 comments on commit 60e2504

Please sign in to comment.