Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
fix(enrollment): trim the inventory
Browse files Browse the repository at this point in the history
Signed-off-by: Rafa Hernandez <[email protected]>
  • Loading branch information
rafaelje authored and Hector Rondon committed Oct 3, 2018
1 parent 17cc3a3 commit c3076de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public void enroll(final Activity activity, final List<UserData.EmailsData> arrE

JSONObject payload = new JSONObject();

String mInventory = Helpers.base64encode( inventory.toString() );
String mInventory = Helpers.base64encode( inventory.trim() );

payload.put("_email", arrEmails.get(0).getEmail()); // get first email
payload.put("_invitation_token", invitationToken);
Expand Down

0 comments on commit c3076de

Please sign in to comment.