aboutsummaryrefslogtreecommitdiff
path: root/backend/api
diff options
context:
space:
mode:
authorTAMARA JERINIC <tamara.jerinic@gmail.com>2022-04-16 21:52:40 +0200
committerTAMARA JERINIC <tamara.jerinic@gmail.com>2022-04-16 21:53:17 +0200
commit66c147bc3154e531cfc78591a7451d904122fc1f (patch)
tree594bfb029c004a69800938087dc1586e31067a24 /backend/api
parent3a9bffc6da590fd1a98a0c885d608d40849cffd4 (diff)
Ispravljeno obaveštavanje backend-a o epohama.
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();