Skip to content

Commit

Permalink
Don't start body with a '?'.
Browse files Browse the repository at this point in the history
This fixes a bug where enableUpdatesFor: would fail with an erronous "Invalid / used nonce" error.
  • Loading branch information
Will Harris authored and Steve Streza committed May 11, 2010
1 parent 742ab9c commit b4ca152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MGTwitterEngine.m
Expand Up @@ -459,7 +459,7 @@ - (NSString *)_sendRequestWithMethod:(NSString *)method
}
if (_clientSourceToken) {
finalBody = [finalBody stringByAppendingString:[NSString stringWithFormat:@"%@source=%@",
(body) ? @"&" : @"?" ,
(body) ? @"&" : @"" ,
_clientSourceToken]];
}

Expand Down

0 comments on commit b4ca152

Please sign in to comment.