Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Change to enable error judgment of iOS device check that was temporar… #992

Merged
merged 2 commits into from
May 20, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,8 @@ public async Task<bool> Validation(IAppleDeviceVerification deviceVerification,
// default:
// break;
//}
if (response.StatusCode != System.Net.HttpStatusCode.OK)
{
// FIXME: When call iOS Device check, return error sometimes, Until the cause is known, ignored device check
return true;
}

return true;
return (response.StatusCode == System.Net.HttpStatusCode.OK);
}
catch (Exception ex)
{
Expand Down