Posts by Isaac • 13 points
1 post
-
0
votes1
answer1903
viewsQ: Cannot destructure Property `name` of 'Undefined' or 'null'
for some reason my req.body is returning Undefined, even with the correct middleware. Controller import { Request, Response } from 'express'; import db from '../database/connection'; class…