atlp-rwanda / knights-ecomm-be

Knights ecommerce backend APIs
https://knights-ecomm-be-lcdh.onrender.com
0 stars 0 forks source link

fix user profile managment #124

Closed MC-Knight closed 4 months ago

MC-Knight commented 4 months ago

What does this PR do?

This pull request fix profile management for both vendor and admin

Description of Task to be completed?

endpoints for

How should this be manually tested?

```
cd knights-ecomm-be  
git fetch
git checkout fix-profile-managment
npm i
npm run dev
```
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 10008610017

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/services/userServices/userDisableTwoFactorAuth.ts 5 6 83.33%
src/services/userServices/userEnableTwoFactorAuth.ts 5 6 83.33%
src/services/userServices/getUserProfile.ts 8 10 80.0%
src/services/userServices/userUpdateProfileImage.ts 15 26 57.69%
<!-- Total: 38 53 71.7% -->
Totals Coverage Status
Change from base Build 9973107170: -0.5%
Covered Lines: 1544
Relevant Lines: 1648

💛 - Coveralls