diff options
author | Ognjen Cirkovic <ciraboxkg@gmail.com> | 2022-04-16 19:16:55 +0200 |
---|---|---|
committer | Ognjen Cirkovic <ciraboxkg@gmail.com> | 2022-04-16 19:16:55 +0200 |
commit | 0839b7a0217160214cce8ae881fa0b76810850df (patch) | |
tree | a608fd20f26283021ab5ce325e36f86363f1840e /backend/api | |
parent | 74e467d41e7234bc806e9ba30c6766791601ec6b (diff) |
Uplodovanje h5 fajla vraca id tog fajla u bazi
Diffstat (limited to 'backend/api')
-rw-r--r-- | backend/api/api/Controllers/FileController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/api/api/Controllers/FileController.cs b/backend/api/api/Controllers/FileController.cs index b9b31500..6888f1c7 100644 --- a/backend/api/api/Controllers/FileController.cs +++ b/backend/api/api/Controllers/FileController.cs @@ -105,7 +105,7 @@ namespace api.Controllers fileModel = _fileservice.Create(fileModel); - return Ok(fileModel); + return Ok(fileModel._id); } [HttpGet("csvread/{hasHeader}/{fileId}")] |