|
constdb = new AWS.DynamoDB({}); |
As you can see there is a typo in the main branch, I also checked the server.js in the S3 bucket where the template is hosted and it is there as well (https://s3.amazonaws.com/awsinaction-code3/chapter16/server/server.js):
I was wondering how the DB commands used by server.js are still working (I queried the table items and the updates are done, and the response of GET /image/:id does reply with correct data) let alone the application; I did a search through the ch16 files and could not find references to other images or repositories. I would appreciate some explanation. Good day.