You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am not sure whether these controller functions are at there correct place:
const router = Router();
router.use(verifyJWT); // Apply verifyJWT middleware to all routes in this file
router
.route("/c/:channelId")
.get(getSubscribedChannels)
.post(toggleSubscription);
router.route("/u/:subscriberId").get(getUserChannelSubscribers);
because in the controllers files:
getSubscribedChannels is fetching the subscriberId
and
getUserChannelSubscribers is fetching the channelId
The text was updated successfully, but these errors were encountered:
Yes,
When I am working on it. I also saw this problem.
So, then we can change them as our requirement. But, It is good to raise this issue for future concern.
Will it affect other functions or not? please update here. If I find one I will update.
i am not sure whether these controller functions are at there correct place:
because in the controllers files:
getSubscribedChannels is fetching the subscriberId
and
getUserChannelSubscribers is fetching the channelId
The text was updated successfully, but these errors were encountered: