aboutsummaryrefslogtreecommitdiff
path: root/backend/api
diff options
context:
space:
mode:
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();