diff options
| author | ivar <i@oiee.no> | 2025-10-26 22:57:28 +0100 |
|---|---|---|
| committer | ivar <i@oiee.no> | 2025-10-26 22:57:28 +0100 |
| commit | 842502e82c4ddfea05a5f77c361aaa27f75afc42 (patch) | |
| tree | 70fe96cd88600224257b80569015008626e3d317 /api/WhatApi/Endpoints/UploadContentEndpoint.cs | |
| parent | 5c59225ee10949cc58fccce4d968d1ede58be9b6 (diff) | |
| download | what-842502e82c4ddfea05a5f77c361aaa27f75afc42.tar.xz what-842502e82c4ddfea05a5f77c361aaa27f75afc42.zip | |
Refactor db schema and add audits
Diffstat (limited to 'api/WhatApi/Endpoints/UploadContentEndpoint.cs')
| -rw-r--r-- | api/WhatApi/Endpoints/UploadContentEndpoint.cs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/api/WhatApi/Endpoints/UploadContentEndpoint.cs b/api/WhatApi/Endpoints/UploadContentEndpoint.cs index 82fb71b..b114310 100644 --- a/api/WhatApi/Endpoints/UploadContentEndpoint.cs +++ b/api/WhatApi/Endpoints/UploadContentEndpoint.cs @@ -1,7 +1,3 @@ -using Microsoft.AspNetCore.Http.Extensions; -using Microsoft.AspNetCore.Mvc; -using NetTopologySuite; -using NetTopologySuite.Geometries; namespace WhatApi.Endpoints; @@ -32,7 +28,6 @@ public class UploadContentEndpoint(Database db) : BaseEndpoint var content = new Tables.Content() { Id = contentId, Mime = request.File.ContentType, - Created = DateTime.UtcNow, BlobId = blobId, Ip = GetIp() }; |
