DEV Community

tpikachu
tpikachu

Posted on • Updated on

How can I update the object of the subarray

{
    "_id": "5e28b029a0c8263a8a56980a"
    "name": "Recruiter",
    "data": [
        {
            "_id": "5e28b0980f89ba3c0782828f",
            "targetLink": "https://www.linkedin.com/in/dan-kelsall-7aa0926b/",
            "name": "Dan Kelsall",
            "headline": "Content Marketing & Copywriting",
            "actions": [
                {
                    "result": 1,
                    "name": "VISIT"
                },
                {
                    "result": 1,
                    "name": "FOLLOW"
                }
            ]
        },
        {
            "_id": "5e28b0980f89ba3c078283426f",
            "targetLink": "https://www.linkedin.com/in/56wergwer/",
            "name": "56wergwer",
            "headline": "asdgawehethre",
            "actions": [
                {
                    "result": 1,

Top comments (0)