Vasilis

fix for compilation error

...@@ -600,12 +600,13 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION) ...@@ -600,12 +600,13 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
600 } else { 600 } else {
601 [_db executeUpdate:@"UPDATE requestVariables SET client_id = ? , client_secret = ? WHERE id = 1", clientId, clientSecret]; 601 [_db executeUpdate:@"UPDATE requestVariables SET client_id = ? , client_secret = ? WHERE id = 1", clientId, clientSecret];
602 } 602 }
603 + NSDictionary *postDictionary2 = [NSDictionary alloc];
603 if ([loginType isEqual:@"email"]) { 604 if ([loginType isEqual:@"email"]) {
604 - NSDictionary *postDictionary2 = @{@"app_id": [contextResponse objectForKey:@"app_id"], @"client_id": clientId, @"confirm": @"yes", @"email":id, @"response_type":@"code", @"scope": [loginType stringByAppendingString:@" app_id"] }; 605 + postDictionary2 = @{@"app_id": [contextResponse objectForKey:@"app_id"], @"client_id": clientId, @"confirm": @"yes", @"email":id, @"response_type":@"code", @"scope": [loginType stringByAppendingString:@" app_id"] };
605 } else if ([loginType isEqual:@"msdisdn"]) { 606 } else if ([loginType isEqual:@"msdisdn"]) {
606 - NSDictionary *postDictionary2 = @{@"app_id": [contextResponse objectForKey:@"app_id"], @"client_id": clientId, @"confirm": @"yes", @"msisdn":id, @"response_type":@"code", @"scope": [loginType stringByAppendingString:@" app_id"] }; 607 + postDictionary2 = @{@"app_id": [contextResponse objectForKey:@"app_id"], @"client_id": clientId, @"confirm": @"yes", @"msisdn":id, @"response_type":@"code", @"scope": [loginType stringByAppendingString:@" app_id"] };
607 } else { 608 } else {
608 - NSDictionary *postDictionary2 = @{@"app_id": [contextResponse objectForKey:@"app_id"], @"client_id": clientId, @"confirm": @"yes", @"username":id, @"response_type":@"code", @"scope": [loginType stringByAppendingString:@" app_id"] }; 609 + postDictionary2 = @{@"app_id": [contextResponse objectForKey:@"app_id"], @"client_id": clientId, @"confirm": @"yes", @"username":id, @"response_type":@"code", @"scope": [loginType stringByAppendingString:@" app_id"] };
609 } 610 }
610 NSData *jsonData2 = [NSJSONSerialization dataWithJSONObject:postDictionary2 options:0 error:NULL]; 611 NSData *jsonData2 = [NSJSONSerialization dataWithJSONObject:postDictionary2 options:0 error:NULL];
611 [self sendContext4:jsonData2 successBlock:^(NSDictionary *contextResponse) { 612 [self sendContext4:jsonData2 successBlock:^(NSDictionary *contextResponse) {
......