From 51f04beb7494b7359b6c94badc7c7493e8ab3e0c Mon Sep 17 00:00:00 2001 From: Lucio Maranta Date: Mon, 30 Jul 2018 14:42:11 +0200 Subject: [PATCH] Fix file info --- Step/Controllers/WebApi/NcFileController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Step/Controllers/WebApi/NcFileController.cs b/Step/Controllers/WebApi/NcFileController.cs index 901b622c..87452262 100644 --- a/Step/Controllers/WebApi/NcFileController.cs +++ b/Step/Controllers/WebApi/NcFileController.cs @@ -31,8 +31,8 @@ namespace Step.Controllers.WebApi } - [Route("file/info/{*filePath}"), HttpGet] - public IHttpActionResult GetFileInfo(string filePath) + [Route("file/info"), HttpGet] + public IHttpActionResult GetFileInfo([FromUri]string filePath) { using (NcHandler ncHandler = new NcHandler()) {