I need to incorporate the current user object ID array into a user's "followers" column in Parse, but because of security restrictions, I have to use cloud code. Unfortunately, I don't know much about JavaScript and could use some assistance. Here is what I would do if there were no security issues:
// Add the current user ID to the 'followers' array of the specified user (userPassed)
[userPassed addUniqueObject:[PFUser currentUser].objectId forKey:@"followers"];
[userPassed saveInBackground];
Could someone please help me with coding this specifically for cloud code? Thank you.