I would like to know how to assign values to object property in nested object by `id=insta` in javascript

I have a two objects, I need apply one object property to another using javascript

I got stuck and dont know how to proceed, 

```
obj1.forEach(e=> {if(e.id==='insta') Object.assign(e, obj2)})

```

```
var obj1 = [
  {
    id: "insta",
    rate: "2.4",
    fee: "0",
    amount: "400"
  },
 {
    id: "trans",
    rate: "1.4",
    fee: "0",
    amount: "200"
  }
]

var obj2 = 
{
  data: {
     rate_value: "4.4",
     fee_value: "10",
     targetamount: "5000",
     country_code: "SG"
   }
}

```

```
Expected Output: 

res= [
  {
    id: "insta",
    rate: "4.4",
    fee: "10",
    amount: "5000",
    country_code: "SG"
  }
]

```