pfitzpaddy / ngm-reportEngine

SailsJS Rest API service for reporting
1 stars 14 forks source link

hotfix(save report): populate beneficiary #157

Closed drfaustusfade closed 4 years ago

drfaustusfade commented 4 years ago

on report save: associations are saved but not populated after create/update resulting in them being empty, as quick workaround, adding findOne with populateAll query after create/update, as update does not have populateAll method, meaning that additional hit on db on each beneficiary...

pfitzpaddy commented 4 years ago

Updated on DEV and PROD with the thanks to @drfaustusfade