diff options
| author | Jake Mannens <jake@asger.xyz> | 2023-09-05 14:02:11 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2023-09-05 14:02:11 +1000 |
| commit | 02da841c350cecc985b6b161fb175e7e5882e1d5 (patch) | |
| tree | 24c37feaa0b24160fb28ef971adc1bc674ec63d6 /Services/MediaService.cs | |
| parent | 7bc3919cabff51806068659be03884913054cff8 (diff) | |
MediaService now records whether the checksum was verified at upload time
Diffstat (limited to 'Services/MediaService.cs')
| -rw-r--r-- | Services/MediaService.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Services/MediaService.cs b/Services/MediaService.cs index ccc3283..015eae9 100644 --- a/Services/MediaService.cs +++ b/Services/MediaService.cs @@ -121,6 +121,7 @@ public class MediaService : IMediaService { Filename = fileName, Length = fileData.Length, OriginalChecksum = hash, + ChecksumVerified = checksum is not null, UploadTime = DateTime.UtcNow, LastAccessTime = lastAccessTime, LastWriteTime = lastWriteTime, |
