import pb from '@/lib/pocketbase';
const getPostMetadata = async () => {
try {
return (await (pb.collection("blog").getList(1, 50))).items
} catch (error) {
return []
}
};
export default getPostMetadata;