awslabs / aws-api-gateway-developer-portal

A Serverless Developer Portal for easily publishing and cataloging APIs
Apache License 2.0
928 stars 401 forks source link

[staging] JS error after login #324

Closed mvanbaak closed 4 years ago

mvanbaak commented 4 years ago

The staging branch is currently not working. After logging in, there's a JS error about ne.get where .get is not defined (ne is a Promise)

Commit 2f30d2ac introduced some code in the file lambdas/static-asset-uploader/build/static/js/main.74ad274d.chunk.js which is simply wrong:

return ne.get("/testLayer",{},{},{}).then(function(e){return console.log("testLayer success:",e)}).catch(function(e){return console.error("testLayer error:",e)}),

Rebuilding everything fixes the issue.