diff --git a/MCTG/MCTGLib/User.cs b/MCTG/MCTGLib/User.cs index cc43db6..bd4c9d8 100644 --- a/MCTG/MCTGLib/User.cs +++ b/MCTG/MCTGLib/User.cs @@ -31,13 +31,7 @@ namespace MCTGLib public string ProfilPict { get => picture; - set - { - if (string.IsNullOrWhiteSpace(value)) - { - throw new ArgumentNullException("Erreur pour la photo d'utilisateur!"); - } - } + set => picture = value; } ///