Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

Commit

Permalink
Fixed server URL validation error. The validation code was checking t…
Browse files Browse the repository at this point in the history
…he previous URL, not the newly added URL.

Updates #213
  • Loading branch information
inghamn committed Feb 4, 2014
1 parent 359a2ec commit ecf3346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GeoReporter/GeoReporter/Models/Open311.m
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ - (void)checkServerValidity:(NSString *)serverURL fromSender:(id)sender
{
AFHTTPRequestOperationManager *manager = [self getRequestManager];

[manager GET:[NSString stringWithFormat:@"%@/services.json", _currentServer[kOpen311_Url]]
[manager GET:[NSString stringWithFormat:@"%@/services.json", serverURL]
parameters:_endpointParameters
success:^(AFHTTPRequestOperation *operation, id responseObject) {
_serviceList = responseObject;
Expand Down

0 comments on commit ecf3346

Please sign in to comment.