diff options
author | TopperDEL <github_com@tparth.de> | 2021-07-15 21:26:26 +0300 |
---|---|---|
committer | TopperDEL <github_com@tparth.de> | 2021-07-15 21:26:26 +0300 |
commit | 7a96d3d7ed98afa032540500b6fadd1fff091707 (patch) | |
tree | 9f4e8f84d4582caabe379477e3b4fce7b80ff6c3 /Duplicati/Library/Backend | |
parent | ff6cc959ebfc6296acd2caf553be5c8557f3d030 (diff) |
fix: build errors
Diffstat (limited to 'Duplicati/Library/Backend')
-rw-r--r-- | Duplicati/Library/Backend/Storj/StorjFile.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Duplicati/Library/Backend/Storj/StorjFile.cs b/Duplicati/Library/Backend/Storj/StorjFile.cs index 626e25397..fa83c3907 100644 --- a/Duplicati/Library/Backend/Storj/StorjFile.cs +++ b/Duplicati/Library/Backend/Storj/StorjFile.cs @@ -29,7 +29,7 @@ namespace Duplicati.Library.Backend.Storj public StorjFile(uplink.NET.Models.Object tardigradeObject) { IsFolder = tardigradeObject.IsPrefix; - var lastAccess = tardigradeObject.CustomMetaData.Entries.Where(e => e.Key == STORJ_LAST_ACCESS).FirstOrDefault(); + var lastAccess = tardigradeObject.CustomMetadata.Entries.Where(e => e.Key == STORJ_LAST_ACCESS).FirstOrDefault(); if (lastAccess != null && !string.IsNullOrEmpty(lastAccess.Value)) { LastAccess = DateTime.Parse(lastAccess.Value); @@ -39,7 +39,7 @@ namespace Duplicati.Library.Backend.Storj LastAccess = DateTime.MinValue; } - var lastMod = tardigradeObject.CustomMetaData.Entries.Where(e => e.Key == STORJ_LAST_MODIFICATION).FirstOrDefault(); + var lastMod = tardigradeObject.CustomMetadata.Entries.Where(e => e.Key == STORJ_LAST_MODIFICATION).FirstOrDefault(); if (lastMod != null && !string.IsNullOrEmpty(lastMod.Value)) { LastModification = DateTime.Parse(lastMod.Value); @@ -50,7 +50,7 @@ namespace Duplicati.Library.Backend.Storj } Name = tardigradeObject.Key; - Size = tardigradeObject.SystemMetaData.ContentLength; + Size = tardigradeObject.SystemMetadata.ContentLength; } } } |