Closed uzaxirr closed 3 years ago
http://localhost:8080/api/v2/medium Does Not return a proper response even though the article is cross-posted on the other two platforms.
http://localhost:8080/api/v2/medium
This arises due to poor error handling in controller/postFromMedium.controller.js file Mainly in the code snippet below
controller/postFromMedium.controller.js
if(hashPost || mediumPost){ return res.status(201).json({"Message": "Blog Sucessfully Posted"}); }
Here i think hashPost is not globally defined
hashPost
http://localhost:8080/api/v2/medium
Does Not return a proper response even though the article is cross-posted on the other two platforms.This arises due to poor error handling in
controller/postFromMedium.controller.js
fileMainly in the code snippet below
Here i think
hashPost
is not globally defined