KamandPrompt / CodeManiacs

IIT Mandi Online Judge
MIT License
23 stars 58 forks source link

Displaying value fields in edit profile #160

Open PiyushDhamane opened 3 years ago

PiyushDhamane commented 3 years ago

158 fixed

Previously the email and name fields were rendered blank in profile update. Now the user's current profile fields are correctly #displayed.

image

PiyushDhamane commented 3 years ago

@Signior-X issue resolved.

dheeraj135 commented 3 years ago

@Piyush3436 I don't think we need to pass the user-id. You can get user-id of logged in user using req.user. Is there any specific reason for passing the userid?

Signior-X commented 3 years ago

same question @Piyush3436 as asked by Dheeraj Find the id from the logged in user.

Signior-X commented 3 years ago

@Piyush3436 are still working on this?