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

Commit

Permalink
Merge pull request #992 from cocoa-mhlw/feature/iOS_DeviceError_ON
Browse files Browse the repository at this point in the history
Change to enable error judgment of iOS device check that was temporar…
  • Loading branch information
cocoa-dev006 authored May 20, 2022
2 parents 3035bdc + aa0de0d commit d386453
Showing 1 changed file with 1 addition and 6 deletions.
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

0 comments on commit d386453

Please sign in to comment.