Skip to content

Commit aba7c10

Browse files
committed
revert changes and allow unauthorized request
1 parent 2598509 commit aba7c10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

LearningHub.Nhs.WebUI/Controllers/Api/ResourceController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public async Task<ActionResult> AcceptSensitiveContentAsync(int resourceVersionI
6060
/// <param name="fileName">File name.</param>
6161
/// <returns>A <see cref="Task{TResult}"/> representing the result of the asynchronous operation.</returns>
6262
[HttpGet("DownloadResource")]
63+
[AllowAnonymous]
6364
public async Task<IActionResult> DownloadResource(string filePath, string fileName)
6465
{
6566
if (string.IsNullOrEmpty(fileName))

0 commit comments

Comments
 (0)