chai-backend icon indicating copy to clipboard operation
chai-backend copied to clipboard

A video series on chai aur code youtube channel

Results 112 chai-backend issues
Sort by recently updated
recently updated
newest added

I just found a bug in registerUser function in user.controller.js Description:- The below if condition in registerUser function in user.controller.js is just checking for empty string. It throws error only...

corrected log statement to reflect Express connection failure instead of Mongodb connection failure!

In this pull request, I've implemented a straightforward update to the authentication flow. The focus of this change is to properly set the refreshToken to newRefreshToken, ensuring seamless token management...

In subscription.controller.js we accessing the data from url like this ``` // controller to return subscriber list of a channel const getUserChannelSubscribers = asyncHandler(async (req, res) => { const {channelId}...

Error : JWT is malformed, when hitting the /refresh-token end point. To resolve this change the code like this. const { accessToken, refreshToken } = await generateAccessAndRefereshTokens(user._id); instead of const...

` const options={ httpOnly:true } // remove secure option `

Added error handling middleware in app.js to handle error thrown by `asyncHandler` in `ApiError` 's Object. The middleware responsible for error handling is conspicuously absent from both the tutorial and...

Hey Hitesh, I need some info about in some routes we are using subsciber or userId as params, as we take care or extract from jwt then why we are...

…get video by id, also changes in multer middleware with uuid file name