mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Use static lambdas wherever possible
Thanks Rider
This commit is contained in:
@@ -141,7 +141,7 @@ namespace ArchiSteamFarm.IPC.Integration {
|
||||
return (HttpStatusCode.Unauthorized, true);
|
||||
}
|
||||
|
||||
string? inputPassword = passwords.FirstOrDefault(password => !string.IsNullOrEmpty(password));
|
||||
string? inputPassword = passwords.FirstOrDefault(static password => !string.IsNullOrEmpty(password));
|
||||
|
||||
if (string.IsNullOrEmpty(inputPassword)) {
|
||||
return (HttpStatusCode.Unauthorized, true);
|
||||
|
||||
Reference in New Issue
Block a user