forked from ddrilling/AsbCloudServer
HelpPageController.GetFileAsync() 404->204
This commit is contained in:
parent
145d528074
commit
f40cd0acff
@ -90,7 +90,7 @@ public class HelpPageController : ControllerBase
|
|||||||
cancellationToken);
|
cancellationToken);
|
||||||
|
|
||||||
if (!file.HasValue)
|
if (!file.HasValue)
|
||||||
return NotFound();
|
return NoContent();
|
||||||
|
|
||||||
return File(file.Value.stream, "application/pdf", file.Value.fileName);
|
return File(file.Value.stream, "application/pdf", file.Value.fileName);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user