Calling function import from SAP Cloud SDK returns an empty object, even though the call is successful.
- Go to
data-provider
folder - Run
npm install
- Run
cds watch
- Open the browser and enter
http://localhost:4004/catalog/getDeliveryDate()
. Mock delivery date will be returned.
- Go to
data-consumer
folter - Run
npm install
- Run
npm run start:dev
- Open the browser and enter
http://localhost:3000/get-delivery
. You will see an empty object returned.