I have a votes
array containing user information. I am looking to delete a user based on their id.
role: 2
active: 2
about: null
id: 3
email: "<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="126677616652757f737b7e3c717d7f3c717d7f">[email protected]</a>"
created_at: "2016-11-08 17:14:16"
function: "functie...."
last_name: "Janssen"
mobile: "6"
pivot: Object
updated_at: "2016-11-08 17:30:20"
Solution:
option.votes.$remove($root.user.id);
Currently, this method is not functioning as expected. What adjustments are needed to make it work correctly?