Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
[Venmo] Make sure device-id is never nil
Browse files Browse the repository at this point in the history
  • Loading branch information
ayanonagon committed Aug 20, 2014
1 parent 016848b commit bdc265e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion venmo-sdk/Venmo.m
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ - (NSString *)URLPathWithType:(VENTransactionType)type
queryDictionary[@"client"] = @"ios";
queryDictionary[@"app_name"] = self.appName ?: @"";
queryDictionary[@"app_id"] = self.appId ?: @"";
queryDictionary[@"device_id"] = identifier;
queryDictionary[@"device_id"] = identifier ?: @"";
queryDictionary[@"txn"] = [VENTransaction typeString:type];
queryDictionary[@"note"] = note;
queryDictionary[@"app_version"] = VEN_CURRENT_SDK_VERSION;
Expand Down

0 comments on commit bdc265e

Please sign in to comment.