Right now vue inside mounted function calls a napi and gets the value for teambytime2. When it fetch the values using an api it looks like
Below is the axios get url used to fetch the data and pass it on to this.teamByTime2.
axios.get(https://usemyapi90.com/currentDate).then(response =>
(
this.teamByTime2 = response.data
));
Structure for the fetched data is below
> teamByTime2
>> 0
>>> Booker
>>> Player
id
updatedAt
enter code here
>> 1
>>> Booker
>>> Player
id
updatedAt
Any suggestion on how to move object structure for Booker inside the Player ?
> teamByTime2
>> 0
>>> Player
>>>> Booker
id
updatedAt
enter code here
>> 1
>>> Player
>>>> Booker
id
updatedAt
