From ba1c6a10ac40d6e429bbeb15778fef8479800a84 Mon Sep 17 00:00:00 2001 From: HarelM Date: Sun, 17 Sep 2023 00:05:43 +0300 Subject: [PATCH] Upgrade dotnet dependencies --- IsraelHiking.API/Executors/ImagesUrlsStorageExecutor.cs | 2 +- IsraelHiking.API/IsraelHiking.API.csproj | 2 +- IsraelHiking.Common/IsraelHiking.Common.csproj | 2 +- IsraelHiking.Web/IsraelHiking.Web.csproj | 6 +++--- Tests/IsraelHiking.API.Tests/IsraelHiking.API.Tests.csproj | 4 ++-- .../IsraelHiking.DataAccess.Tests.csproj | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/IsraelHiking.API/Executors/ImagesUrlsStorageExecutor.cs b/IsraelHiking.API/Executors/ImagesUrlsStorageExecutor.cs index c384d0540..9b0dee223 100644 --- a/IsraelHiking.API/Executors/ImagesUrlsStorageExecutor.cs +++ b/IsraelHiking.API/Executors/ImagesUrlsStorageExecutor.cs @@ -119,7 +119,7 @@ private byte[] ResizeImage(Image originalImage, int newSizeInPixels) public async Task StoreImage(MD5 md5, byte[] content, string imageUrl) { var hash = md5.ComputeHash(content).ToHashString(); - var image = Image.Load(content, out var _); + var image = Image.Load(content); var imageItemInDatabase = await _imagesRepository.GetImageByHash(hash); if (imageItemInDatabase != null && !imageItemInDatabase.ImageUrls.Contains(imageUrl)) { diff --git a/IsraelHiking.API/IsraelHiking.API.csproj b/IsraelHiking.API/IsraelHiking.API.csproj index 001159273..e492125ea 100644 --- a/IsraelHiking.API/IsraelHiking.API.csproj +++ b/IsraelHiking.API/IsraelHiking.API.csproj @@ -30,7 +30,7 @@ - + diff --git a/IsraelHiking.Common/IsraelHiking.Common.csproj b/IsraelHiking.Common/IsraelHiking.Common.csproj index 4eda8b8de..4c3d8444e 100644 --- a/IsraelHiking.Common/IsraelHiking.Common.csproj +++ b/IsraelHiking.Common/IsraelHiking.Common.csproj @@ -19,7 +19,7 @@ - + diff --git a/IsraelHiking.Web/IsraelHiking.Web.csproj b/IsraelHiking.Web/IsraelHiking.Web.csproj index e433b1f59..9bfdf269f 100644 --- a/IsraelHiking.Web/IsraelHiking.Web.csproj +++ b/IsraelHiking.Web/IsraelHiking.Web.csproj @@ -77,15 +77,15 @@ - + - + - + diff --git a/Tests/IsraelHiking.API.Tests/IsraelHiking.API.Tests.csproj b/Tests/IsraelHiking.API.Tests/IsraelHiking.API.Tests.csproj index 4af1aadf6..7ec37d027 100644 --- a/Tests/IsraelHiking.API.Tests/IsraelHiking.API.Tests.csproj +++ b/Tests/IsraelHiking.API.Tests/IsraelHiking.API.Tests.csproj @@ -10,11 +10,11 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - + - + diff --git a/Tests/IsraelHiking.DataAccess.Tests/IsraelHiking.DataAccess.Tests.csproj b/Tests/IsraelHiking.DataAccess.Tests/IsraelHiking.DataAccess.Tests.csproj index b71f86215..3b41a5f32 100644 --- a/Tests/IsraelHiking.DataAccess.Tests/IsraelHiking.DataAccess.Tests.csproj +++ b/Tests/IsraelHiking.DataAccess.Tests/IsraelHiking.DataAccess.Tests.csproj @@ -28,10 +28,10 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + - +