Closed ysnarafat closed 1 year ago
@ysnarafat we have a feature to increase video count when a user watch a video. updateViewCount
function will increase the video count and return the video object. if we use getById
function, it'll just return the video object.
Not applicable.
https://github.com/foyzulkarim/mern-video-streaming/blob/main/server/src/modules/models/video/controller.js
Instead it should be