Add notes
This commit is contained in:
parent
c2cc96b0c7
commit
d761f72248
@ -10,5 +10,7 @@ export async function load({ params }) {
|
|||||||
const res = col.findOne(query)
|
const res = col.findOne(query)
|
||||||
const posts = await res
|
const posts = await res
|
||||||
|
|
||||||
|
// Create the `Article` object here and return that rather than doing it on the page.
|
||||||
|
|
||||||
return {data: JSON.stringify(posts)}
|
return {data: JSON.stringify(posts)}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user