backend/app/controllers/socket/Markdown.controller.js

11 lines
285 B
JavaScript
Raw Normal View History

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