Skip to content

Commit 53a87de

Browse files
ameyapatCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
1 parent 2c7641d commit 53a87de

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

IdentityCore/src/network/response_serializer/preprocessor/MSIDJweResponseDecryptPreProcessor.m

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,7 @@ - (nullable NSDictionary *)decryptJweResponseData:(NSData *)data
7979
// bart_device_id should be present in response only when refresh_token_type=bound_app_rt is present in token response from server.
8080
if (![decryptedResponse[MSID_REFRESH_TOKEN_TYPE] isEqualToString:MSID_REFRESH_TOKEN_TYPE_BOUND_APP_RT])
8181
{
82-
if ([mutableDecryptedResponse objectForKey:MSID_BART_DEVICE_ID_KEY])
83-
{
84-
[mutableDecryptedResponse removeObjectForKey:MSID_BART_DEVICE_ID_KEY];
85-
}
82+
[mutableDecryptedResponse removeObjectForKey:MSID_BART_DEVICE_ID_KEY];
8683
}
8784

8885
decryptedResponse = [mutableDecryptedResponse copy];

0 commit comments

Comments
 (0)