Closed aitikgupta closed 3 years ago
@aitikgupta I'd like to work on this issue
@suhanichawla sure, go ahead :)
The relevant entrypoint for frontend is- https://github.com/MLH-Fellowship/SocioMark/blob/39eb2f05a1a2da1ca6f6dfee388474da737c6a57/frontend/src/Components/Post/Post.js#L158
And for backend is - https://github.com/MLH-Fellowship/SocioMark/blob/39eb2f05a1a2da1ca6f6dfee388474da737c6a57/backend/app/server/routes/post.py#L39-L43
Note that you will need to break down updated_post
(see UpdatePostModel
) to send a description: str = Form(None)
from the frontend. See this for more information:
https://github.com/MLH-Fellowship/SocioMark/blob/39eb2f05a1a2da1ca6f6dfee388474da737c6a57/backend/app/server/models/post.py#L21-L29
One can edit their post's description, need frontend for that.