Open codetheorem opened 4 years ago
I think this is because of the model of the user we are using in our backend. https://github.com/codeuino/social-platform-donut-backend/blob/43ee99b3b547c0bea9a398458cb082b548fea41a/app/models/User.js#L208
@codetheorem Can you please check your db ? If that is activated in your db or not? Please check by toggling in the DB
@Rupeshiya There is no problem with the frontend it is working when I toggle isActivated from false to true. I think it is from the backend side.
@codetheorem What's the issue?? Can you please check your user db for activation or deactivation??
My account is activated but it is showing Activate rather it should show Deactivate.
check this https://github.com/codeuino/social-platform-donut-frontend/blob/77d028647a60d358f87dfd02e01d64b72cd67f5b/src/user/dashboard/settings/SettingContent.js#L186