change Profile Pic

open fun changeProfilePic(profilePic: File): JSONObject

Method to execute the request to change the profile pic of the user

Return

the result of the request as JSONObject

Parameters

profilePic

The profile pic chosen by the user to set as the new profile pic