summaryrefslogtreecommitdiffstats
path: root/api/WhatApi/Endpoints/UploadContentEndpoint.cs
diff options
context:
space:
mode:
authorivar <i@oiee.no>2025-10-26 22:57:28 +0100
committerivar <i@oiee.no>2025-10-26 22:57:28 +0100
commit842502e82c4ddfea05a5f77c361aaa27f75afc42 (patch)
tree70fe96cd88600224257b80569015008626e3d317 /api/WhatApi/Endpoints/UploadContentEndpoint.cs
parent5c59225ee10949cc58fccce4d968d1ede58be9b6 (diff)
downloadwhat-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.cs5
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()
};