From 7a96d3d7ed98afa032540500b6fadd1fff091707 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 15 Jul 2021 20:26:26 +0200 Subject: fix: build errors --- Duplicati/Library/Backend/Storj/StorjFile.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Duplicati/Library/Backend/Storj/StorjFile.cs') 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; } } } -- cgit v1.2.3