change Profile Pic

open fun changeProfilePic(profilePic: File): JSONObject

Function 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