Open
Description
i get: "items must be object, received item of type: string",
at sending a createPolicyRule for example:
` const wallet = await bitgo
.coin(coin)
.wallets()
.get({ id: userWallet?.wallet_id });
const policy = {
action: {
type: 'getApproval',
},
condition: {
add: 'address',
},
id: 'withdraw_policy',
type: 'advancedWhitelist',
};
const result = await wallet.createPolicyRule(policy);
console.log(result);`
that code is exactly the same as the one in the docs here
also via API it gives me 401 and I have others calls with other endpoints and the same Authorization token works