Hi Moraliser,
I have some code for get list Transaction collection from my frontend. Working last V1 but got error V2.
What can I do in this case? Document for V1 is full but Doc for V2 not good
const Transactions = Moralis.Object.extend('Transactions');
const query = new Moralis.Query(Transactions);
query.equalTo('user_id', Moralis.User.current().id);
query.equalTo('type', 1);
query.descending('createdDate').skip(offset).limit(limit);
const results = await query.find({useMasterKey: true});
setTransactions(results);
error: TypeError: Cannot read properties of undefined (reading 'protectedFields') {"code":1,"stack":"Error: TypeError: Cannot read properties of undefined (reading 'protectedFields')\n