Have you noticed you write a lot of asynchronous code in Express request handlers? This is normal because you need to communicate with the database...
For further actions, you may consider blocking this person and/or reporting abuse
some things to note here:
try / catch
blocks are not minified, haven't tested it out yet, but it's something to be careful about.try / catch
blocks, note that:async
function returns aPromise
So you could also do things like this:
Thank you SO MUCH for not using the wholly NOT real world
settimeout()
in your examples. Here's something that I can read thru and see actually applied.Amazing, thank you!