File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -93,14 +93,9 @@ - (DCTOAuth2Account *) getAccount:(NSString *)providerName
93
93
// Required
94
94
NSURL *authorize_url = [cfg objectForKey: @" authorize_url" ];
95
95
NSString *scopeStr = [cfg valueForKey: @" scopes" ];
96
- // NSArray *scopes = [scopeStr componentsSeparatedByString:@","];
97
-
98
- NSString *sep = @" , " ;
99
- NSCharacterSet *set = [NSCharacterSet characterSetWithCharactersInString: sep];
100
- NSArray *scopes = [scopeStr componentsSeparatedByCharactersInSet: set];
96
+ NSArray *scopes = [scopeStr componentsSeparatedByString: @" ," ];
101
97
102
98
// Optional
103
-
104
99
NSURL *access_token_url = [cfg objectForKey: @" access_token_url" ];
105
100
NSString *clientID = [cfg valueForKey: @" client_id" ];
106
101
NSString *clientSecret = [cfg valueForKey: @" client_secret" ];
You can’t perform that action at this time.
0 commit comments