Why Moralis relational query include for user class only return current user informations?

async function getNfts() {

    const nftList = Moralis.Object.extend("Nfts");

    const query = new Moralis.Query(nftList);

    query.include('User');

    query.equalTo("saleType", 1);

    query.descending("createdAt");

    query.limit(12);

    const results = await query.find();

    setNfts(results);

}

result;

userId pointer dont return user informations. Please help.

You can also try with .select similar to .include

Hi cryptokid,

While listing all nfts, the user information of the nfts that I minted comes in the code above, but the user information of the nfts minted by other users is not.

You may need to use master key in that case