Closed CodyTVWeber closed 5 days ago
revised and restructured code to fix issues and mistakes: user.js: There was a static function outside of a class. sql.js: There was some pseudo-code that was left in. users.js: There is a line of code that is referencing the solution. (rookie mistake😂)
https://github.com/RodriguezRamiro/Usf/commit/8d77d00b4cbf738ae575f0306db6fb6634c70d53
npm run start
)const { ensureAdmin, ensureCorrectUserOrAdmin } = require("../../express-jobly-solution/middleware/auth");