From 4271a29f0fdac6ae642f8144a22c75f9286a2c43 Mon Sep 17 00:00:00 2001 From: Amatsugu Date: Wed, 21 May 2025 23:50:20 -0400 Subject: [PATCH] add upload date --- AobaCore/Models/Media.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/AobaCore/Models/Media.cs b/AobaCore/Models/Media.cs index d50af8c..915ad88 100644 --- a/AobaCore/Models/Media.cs +++ b/AobaCore/Models/Media.cs @@ -65,6 +65,7 @@ public class Media MediaId = fileId; Owner = owner; Id = ObjectId.GenerateNewId(); + UploadDate = DateTime.UtcNow; } public string GetMediaUrl()