I am new to Builder.io, I am trying to get the data model, but I am getting only one instance of the model. It seems I am missing something here!
export async function getStaticProps({ params }) {
const data= await builder
.get("model-test", {
limit: 12,
})
.promise()
.then((res) => res);
console.log(data)
return {
props: {
data,
},
};
}