chai-backend
chai-backend copied to clipboard
A video series on chai aur code youtube channel
When user already existed, the registerUser wasn't removing the file from /public/temp/. So, to solve this issue: 1. I swapped Step 3 and 4 in registerUser in src/controllers/user.controller.js. 2. Added...
**totally amazimg exprienece i have feel over the backend series**
Don't pass message to super and not comment this.message = message line. This class returning object with message class ApiError extends Error { constructor( statusCode, message = "Something went wrong",...
Hi sir, I have completed all the todos and learned many things. I have also tested all todos with Postman. Thanks for giving me such a great learning opportunity.
## Issue updateAccountDetails (src/index :265) controller has no check for if the new email already exists or not There might be conflicts if the user provides an already existing email...
On login route , I set login controller in which accessToken and refreshTokens are logged correctly on console as Promise object. but but but on logout or any route that...
error was written err as err has no reference here or meaning
This in the subscription routes: Corrected getUserChannelSubscribers Route: Old Path: /u/:subscriberId New Path: /c/:channelId Reason: The getUserChannelSubscribers function should retrieve subscribers of a specific channel, so it belongs under the...