Skip to content

Commit bb58cb5

Browse files
authored
Merge pull request #15 from Iterable/bugfix/ITBL-2658-userId-fix-inapp
Fix for missing userId param
2 parents 3663a99 + 5c40422 commit bb58cb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iterableapi/src/main/java/com/iterable/iterableapi/IterableApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ public void trackInAppClick(int campaignId, int templateId, String messageId, in
598598
JSONObject requestJSON = new JSONObject();
599599

600600
try {
601-
requestJSON.put(IterableConstants.KEY_EMAIL, _email);
601+
addEmailOrUserIdToJson(requestJSON);
602602
requestJSON.put(IterableConstants.KEY_CAMPAIGN_ID, campaignId);
603603
requestJSON.put(IterableConstants.KEY_TEMPLATE_ID, templateId);
604604
requestJSON.put(IterableConstants.KEY_MESSAGE_ID, messageId);

0 commit comments

Comments
 (0)