ownid.profile.get() .then(profileData => { console.log("Profile retrieved successfully:", profileData); }) .catch(error => { console.error("Error retrieving profile:", error); });
ownid.profile.update({ firstName: "Sassi", lastName: "Keshet" }) .then(updatedProfile => { console.log("Profile updated successfully:", updatedProfile); }) .catch(error => { console.error("Error updating profile:", error); });
Was this page helpful?