From 6bff57e8da88231d9159c8fe1083e79e215f32f0 Mon Sep 17 00:00:00 2001 From: cake Date: Sun, 26 Oct 2025 18:57:44 +0100 Subject: [PATCH] Added null parameter --- LightlessSyncServer/LightlessSyncServer/Utils/Extensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LightlessSyncServer/LightlessSyncServer/Utils/Extensions.cs b/LightlessSyncServer/LightlessSyncServer/Utils/Extensions.cs index 979c8ac..9c25a11 100644 --- a/LightlessSyncServer/LightlessSyncServer/Utils/Extensions.cs +++ b/LightlessSyncServer/LightlessSyncServer/Utils/Extensions.cs @@ -24,7 +24,7 @@ public static class Extensions if (dto.IsNsfw.HasValue) profile.IsNSFW = dto.IsNsfw.Value; } - public static void UpdateProfileFromDto(this UserProfileData profile, UserProfileDto dto, string? base64PictureString, string? base64BannerString = null) + public static void UpdateProfileFromDto(this UserProfileData profile, UserProfileDto dto, string? base64PictureString = null, string? base64BannerString = null) { ArgumentNullException.ThrowIfNull(profile); ArgumentNullException.ThrowIfNull(dto);