Node Server Error

a guest Nov 13th, 2018 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (node:1216) UnhandledPromiseRejectionWarning: ReferenceError: result is not defined
  2.     at (C:\Users\dougl\OneDrive\Documents\GitHub\Blue-Steel\back-end\server.js:59:22)
  3.     at <anonymous>
  4.     at process._tickCallback (internal/process/next_tick.js:189:7)
  5. (node:1216) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand