diff --git a/MicrobotApi/Controllers/FileController.cs b/MicrobotApi/Controllers/FileController.cs index 566ef2f..de15c00 100644 --- a/MicrobotApi/Controllers/FileController.cs +++ b/MicrobotApi/Controllers/FileController.cs @@ -59,8 +59,8 @@ public async Task List(string environment, [FromQuery] string? fi return Ok(fileNames); } - [HttpGet("download/{path}")] - public async Task Download(string path) + [HttpGet("download")] + public async Task Download([FromQuery] string path) { var file = await _azureStorageService.DownloadFile(path);