Task #28 - Export controller dependency

This commit is contained in:
QiTao 2020-02-08 07:56:01 -06:00
parent e352c9806b
commit ef2e315480

View File

@ -16,6 +16,7 @@ class Export extends Controller {
const Page = this.models.get('api:Page')
const user = req.user
const pages = await Page.find({OrgUserId:user.id})
const Node = this.models.get('api:Node')
const ExportData = {}
for (const page of pages ) {