You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
285 B

const EditorController = require('./Editor.controller')
class MarkdownController extends EditorController {
async _get_resource(id) {
const Node = this.models.get('api:Node')
return Node.findOne({ UUID: id })
}
}
module.exports = exports = MarkdownController