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
newEmail
A new email address.
oldEmail
The previous email address of the user.
giniAPISession
The session for the Gini API which was returned when the user was logged in.