How to use query.include

I’ve been tried to use this method but in the FE it say “undefined”

In my Cloud Function

Moralis.Cloud.define("getAllPost", async(request) => {
	const query = new Moralis.Query("Post");
  	const results = await query.find();
  	return results;

In my javascript

async getAllPost({ commit }) {
    const params = {};
    try {
      const response = await"getAllPost", params);
      response.forEach((data) => {
        console.log("Get the username : ", data.get("username"));
      commit("setPosts", response);
    } catch (error) {
      const code = error.code;
      const message = error.message;
      console.log(code, message);

you may also need to use master key for that .find

you can find here an example on how to use it: [SOLVED] Receiving empty array of results when trying to fetch data from the user table