update Email
Task<JSONObject> updateEmail(String newEmail, String oldEmail, Session giniAPISession)
Content copied to clipboard
Update the email of the logged in user.
Return
A (Bolts) task which will resolve to an empty JSONObject.
Parameters
new Email
A new email address.
old Email
The previous email address of the user.
gini APISession
The session for the Gini API which was returned when the user was logged in.