mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Misc
This commit is contained in:
@@ -2351,12 +2351,15 @@ public sealed class ArchiWebHandler : IDisposable {
|
||||
}
|
||||
}
|
||||
|
||||
private async ValueTask<bool> UnlockParentalAccount(string parentalCode) {
|
||||
private async Task<bool> UnlockParentalAccount(string parentalCode) {
|
||||
ArgumentException.ThrowIfNullOrEmpty(parentalCode);
|
||||
|
||||
Bot.ArchiLogger.LogGenericInfo(Strings.UnlockingParentalAccount);
|
||||
|
||||
bool[] results = await Task.WhenAll(UnlockParentalAccountForService(SteamCommunityURL, parentalCode), UnlockParentalAccountForService(SteamStoreURL, parentalCode)).ConfigureAwait(false);
|
||||
bool[] results = await Task.WhenAll(
|
||||
UnlockParentalAccountForService(SteamCommunityURL, parentalCode),
|
||||
UnlockParentalAccountForService(SteamStoreURL, parentalCode)
|
||||
).ConfigureAwait(false);
|
||||
|
||||
if (results.Any(static result => !result)) {
|
||||
Bot.ArchiLogger.LogGenericWarning(Strings.WarningFailed);
|
||||
|
||||
Reference in New Issue
Block a user