Update dependencies 🚀
This commit is contained in:
@@ -10,7 +10,7 @@ import Watching from '../../../../models/channel-watching';
|
||||
*/
|
||||
module.exports = (params, user) => new Promise(async (res, rej) => {
|
||||
// Get 'channelId' parameter
|
||||
const [channelId, channelIdErr] = $(params.channelId).type(ID).$;
|
||||
const [channelId, channelIdErr] = $(params.channelId).type(ID).get();
|
||||
if (channelIdErr) return rej('invalid channelId param');
|
||||
|
||||
//#region Fetch channel
|
||||
|
Reference in New Issue
Block a user