Open MMortaga opened 2 years ago
https://github.com/muisawe/simple-social-media/blob/ba00f2c0de47f5eb18f943ca6dd2dbead77655cd/controllers/post.js#L150
This can be undefined, add some validation before pulling attributes from the body.
undefined
https://github.com/muisawe/simple-social-media/blob/ba00f2c0de47f5eb18f943ca6dd2dbead77655cd/controllers/post.js#L150
This can be
undefined
, add some validation before pulling attributes from the body.