Add notes

This commit is contained in:
Fred Boniface 2023-08-17 23:06:37 +01:00
parent c2cc96b0c7
commit d761f72248

View File

@ -10,5 +10,7 @@ export async function load({ params }) {
const res = col.findOne(query)
const posts = await res
// Create the `Article` object here and return that rather than doing it on the page.
return {data: JSON.stringify(posts)}
}