The "harvest.Projects" results in a "TypeError: Property 'Projects' of object [object Object] is not a function". I've tried many versions but I can't seem to find the correct one. I would really like to get som help with this because I can't see where the error is coming from. I have no problem getting data from "harvest.TimeTracking" for example.
I'm trying to get data from /projects using this router.get:
in app.js
The "harvest.Projects" results in a "TypeError: Property 'Projects' of object [object Object] is not a function". I've tried many versions but I can't seem to find the correct one. I would really like to get som help with this because I can't see where the error is coming from. I have no problem getting data from "harvest.TimeTracking" for example.