-async function doesUserFeedTokenCorrespond (id: number | string, token: string, res: Response) {
- const user = await UserModel.loadById(parseInt(id + '', 10))
+async function doesUserFeedTokenCorrespond (id: number, token: string, res: Response) {
+ const user = await UserModel.loadByIdWithChannels(parseInt(id + '', 10))