We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ca6d88 commit 688066fCopy full SHA for 688066f
1 file changed
HwProj.APIGateway/HwProj.APIGateway.API/Controllers/FilesController.cs
@@ -62,7 +62,7 @@ public async Task<IActionResult> GetStatuses(ScopeDTO filesScope)
62
public async Task<IActionResult> GetDownloadLink([FromQuery] long fileId)
63
{
64
var linkDto = await contentServiceClient.GetDownloadLinkAsync(fileId);
65
- if (linkDto.Succeeded) return BadRequest(linkDto.Errors);
+ if (!linkDto.Succeeded) return BadRequest(linkDto.Errors);
66
67
var result = linkDto.Value;
68
var userId = UserId;
0 commit comments