feat(app, plugins): expose q for custom templates and users handle in 3rd party plugins (#633)

This commit is contained in:
Simon Lecoq
2021-10-28 23:25:13 -04:00
committed by GitHub
parent 2c8e32b859
commit c3d96cff4c
5 changed files with 5 additions and 5 deletions

View File

@@ -47,7 +47,7 @@ export default async function({login, data, imports, q, queries, account}, {enab
posts = await Promise.all(posts.map(async ({image, ...post}) => ({image:await imports.imgb64(image, {width:144, height:-1}), ...post})))
}
//Results
return {source, link, descriptions, covers, list:posts}
return {user, source, link, descriptions, covers, list:posts}
}
//Unhandled error