Node-v3
Node-v3 copied to clipboard
Incorrect import for settlements
In the rave.settlements.js file, there's an import from the beneficiaries folder instead of the settlements folder
const retrieve_all = require('../services/beneficiaries/rave.retrieve')
const retrieve = require('../services/beneficiaries/rave.single.retrieve')
Which causes the request to be made to the beneficiaries endpoint instead.