I have a cuestion of promise pending

because if I execute a promise of this type;

const query = await Moralis.Cloud.run("getItemsMinted", { collectionAddress } )

the status of the promise is always pending that I must do in the cloud for it to be processed.

This is the cloud example:

Moralis.Cloud.define("getItemsMinted", async (request) => {

  const { collectionAddress } = request.params;

  const query = new Parse.Query("ItemsMinted");

  query.equalTo("ownerAddress", collectionAddress);

  const queryResult = await query.first();

  return queryResult;

});

the status of the promise is always pending that I must do in the cloud for it to be processed.

The use of await will wait for the promise to be resolved, where exactly is the issue? Are you getting an error?