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

Commit

Permalink
remove if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoa-dev006 committed May 18, 2022
1 parent d7e39f5 commit aa0de0d
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,8 @@ public async Task<bool> Validation(IAppleDeviceVerification deviceVerification,
// default:
// break;
//}
if (response.StatusCode != System.Net.HttpStatusCode.OK)
{
return false;
}

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

0 comments on commit aa0de0d

Please sign in to comment.