File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -843,7 +843,7 @@ - (void)getIDTokenResultForcingRefresh:(BOOL)forceRefresh
843
843
"error" out parameter.
844
844
*/
845
845
- (FIRAuthTokenResult *)parseIDToken : (NSString *)token error : (NSError **)error {
846
- error = nil ;
846
+ * error = nil ;
847
847
NSArray *tokenStringArray = [token componentsSeparatedByString: @" ." ];
848
848
// The token payload is always the second index of the array.
849
849
NSMutableString *tokenPayload = [[NSMutableString alloc ] initWithString: tokenStringArray[1 ]];
@@ -863,7 +863,7 @@ - (FIRAuthTokenResult *)parseIDToken:(NSString *)token error:(NSError **)error {
863
863
[NSJSONSerialization JSONObjectWithData: decodedTokenPayloadData
864
864
options: NSJSONReadingMutableContainers|NSJSONReadingAllowFragments
865
865
error: error];
866
- if (error) {
866
+ if (* error) {
867
867
return nil ;
868
868
}
869
869
You can’t perform that action at this time.
0 commit comments