Send "appstore" instead of "" for udid.

This commit is contained in:
Thomas Dohmke 2011-12-05 15:45:00 +01:00
parent ec5178919f
commit 37bcbb7793

View File

@ -818,7 +818,7 @@ static NSString *kHockeyErrorDomain = @"HockeyErrorDomain";
NSMutableString *parameter = [NSMutableString stringWithFormat:@"api/2/apps/%@?format=json&udid=%@",
[[self encodedAppIdentifier_] bw_URLEncodedString],
([self isAppStoreEnvironment] ? @"" : [[self deviceIdentifier] bw_URLEncodedString])];
([self isAppStoreEnvironment] ? @"appstore" : [[self deviceIdentifier] bw_URLEncodedString])];
// add additional statistics if user didn't disable flag
if ([self canSendUserData]) {