I'm trying to run the bellow code but it's occouring an error in "data.company_id.id":
User transformation function exception. Reason: Cannot read property 'id' of null
code
var dataString = localStorage.getItem("selectedItem");
var data = JSON.parse(dataString);
return '{"$and": [{"user_id.id":"' + Apperyio.storage.id_token.get() + '"},{"company_id.id":"' + data.company_id._id + '"}]}';
/code