MCPcopy Create free account
hub / github.com/bailicangdu/node-elm / constructor

Method constructor

controller/v1/order.js:11–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9
10class Order extends BaseComponent{
11 constructor(){
12 super()
13 this.postOrder = this.postOrder.bind(this);
14 }
15 async postOrder(req, res, next){
16 const form = new formidable.IncomingForm();
17 form.parse(req, async (err, fields, files) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected