Task #28 - Export controller dependency
This commit is contained in:
parent
e352c9806b
commit
ef2e315480
@ -16,6 +16,7 @@ class Export extends Controller {
|
|||||||
const Page = this.models.get('api:Page')
|
const Page = this.models.get('api:Page')
|
||||||
const user = req.user
|
const user = req.user
|
||||||
const pages = await Page.find({OrgUserId:user.id})
|
const pages = await Page.find({OrgUserId:user.id})
|
||||||
|
const Node = this.models.get('api:Node')
|
||||||
|
|
||||||
const ExportData = {}
|
const ExportData = {}
|
||||||
for (const page of pages ) {
|
for (const page of pages ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user