Using async await to get data loading
Assuming that exportOrderData
is an async function, you forgot the ()
to actually call your function.
let data = await this.controller.exportOrderData()
Assuming that exportOrderData
is an async function, you forgot the ()
to actually call your function.
let data = await this.controller.exportOrderData()