0

Below const deposit is returning null value. But the same line is working in the different controller in same directory. I just included this lines in new controller file in same directory. Is anything else needed?

 const deposit = F.model('managedeposit');

Also other models are working there in same file like

const purchaseListModel = F.model('purchaselist');
Toto
  • 89,455
  • 62
  • 89
  • 125
Rahul Saini
  • 216
  • 1
  • 16

1 Answers1

0

There was a syntax error in managedeposit model. Which I was trying to import. After fixing that error, everything seems working fine. :)

Rahul Saini
  • 216
  • 1
  • 16