when consulting the autoTask list , API Reference of defender has stopped returning the data in the way that the documentation states it
I execute
const { AutotaskClient } = require('defender-autotask-client');
const client = new AutotaskClient({ apiKey: API_KEY, apiSecret: API_SECRET })
await client.list();
what I expect
{
items: [
{
autotaskId: '11ecbea0-7126-4345-a5a5-815898307c9d',
name: 'Example 1',
paused: false,
trigger: [Object],
relayerId: 'f75701bb-d0bd-49d2-bec9-3420a7b645f6'
},
{
autotaskId: '143f7d62-22c1-427e-82e7-20036925c4b3',
name: 'Example 2',
paused: false,
trigger: [Object]
},
],
keyValueStoreItemsCount: 0,
runsQuotaUsage: 0
}
what i get
{
data: {
items: [ [Object], [Object], [Object], [Object], [Object], [Object] ],
keyValueStoreItemsCount: 0,
runsQuotaUsage: 0
}
}