removed Transmission validation on empty credentials (#6)

This commit is contained in:
Marius Nechifor
2024-11-19 13:46:40 +02:00
committed by GitHub
parent b86173d6c0
commit 65b8a7f988
2 changed files with 2 additions and 12 deletions

View File

@@ -23,15 +23,5 @@ public record TransmissionConfig
{
throw new ArgumentNullException(nameof(Url));
}
if (string.IsNullOrEmpty(Username))
{
throw new ArgumentNullException(nameof(Username));
}
if (string.IsNullOrEmpty(Password))
{
throw new ArgumentNullException(nameof(Password));
}
}
}