Closed fenrirx22 closed 3 years ago
Description | Example fixes |
---|---|
No catch method for promise. This may result in an unhandled promise rejection. Occurrences: | :wrench: Example fixes |
Content-type application/json set in setHeader does not specify a charset. Add charset=utf-8 or another charset. Occurrences: | :wrench: Example fixes |
Implemented in v 0.99.1
I've just moved the part of code for auth to separate module so I can reuse it. The hapi plugin routes are pretty similar to the express in swsInterface file. I've just used proper symbols to inform hapi that res.end was called so it will not try to do anything with the res anymore ( it would raise an exception ).