aboutsummaryrefslogtreecommitdiff
path: root/backend/api
diff options
context:
space:
mode:
authorOgnjen Cirkovic <ciraboxkg@gmail.com>2022-04-16 22:09:42 +0200
committerOgnjen Cirkovic <ciraboxkg@gmail.com>2022-04-16 22:09:42 +0200
commit97a6e3ace33b7b0617514dbc38a7b1dee1008cb8 (patch)
tree01453dd0fbeb1a8a906a7ff279e77dff57409b82 /backend/api
parentfcf12f5054cca7e38807531d6b4969e27b86b599 (diff)
parent66c147bc3154e531cfc78591a7451d904122fc1f (diff)
Merge branch 'dev' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into dev
Diffstat (limited to 'backend/api')
-rw-r--r--backend/api/api/Controllers/FileController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/api/api/Controllers/FileController.cs b/backend/api/api/Controllers/FileController.cs
index c4a14b9a..68d2ebed 100644
--- a/backend/api/api/Controllers/FileController.cs
+++ b/backend/api/api/Controllers/FileController.cs
@@ -84,7 +84,7 @@ namespace api.Controllers
await file.CopyToAsync(stream);
}
FileModel fileModel = new FileModel();
- fileModel.type = "h5";
+ fileModel.type = ".h5";
fileModel.path = fullPath;
fileModel.uploaderId = uploaderId;
fileModel.date = DateTime.Now.ToUniversalTime();