Added null parameter

This commit is contained in:
cake
2025-10-26 18:57:44 +01:00
parent 3a9446f9ae
commit 6bff57e8da

View File

@@ -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);