opencodeiiita / Productivity-Tracker

6 stars 45 forks source link

add get note route #117

Closed ashutosh3027 closed 2 years ago

ashutosh3027 commented 2 years ago

Issue: 110

Short description of what this resolves:

Changes proposed in this pull request and/or Screenshots of changes:

-

-

opencode-bot commented 2 years ago

Hey @ashutosh3027

Thanks for opening this PR :rocket:. Mentor will review your PR soon and till then, keep contributing and stay calm.

Thanks for contributing to OpenCode ✨✨!

untrulynoxiusmj commented 2 years ago

@ashutosh3027 you will not get _id from req.body Use req.user

ashutosh3027 commented 2 years ago

@untrulynoxiusmj sir now??

untrulynoxiusmj commented 2 years ago

@ashutosh3027 also check line 3 of index.js const {addtask, getTask} = require('../controllers/addtask'); This is required. you have removed getTask Please update that line

ashutosh3027 commented 2 years ago

@untrulynoxiusmj sorry sir I have added it again

opencode-bot commented 2 years ago

Hey @ashutosh3027

Your PR has been merged :partying_face::partying_face: and you have earned 20 points.

Thanks for contributing to OpenCode ✨✨!