Added -size-restricted URL pattern for gfycat. Fixed missing getUser argument.

This commit is contained in:
2024-09-11 05:16:55 +02:00
parent b71d0f7daa
commit 2ecc2d8098
2 changed files with 5 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ const getPostsWrap = (reddit, args) => {
return {...accUserPosts, '[deleted]': {name: '[deleted]', deleted: true, posts: [post]}};
}
const user = await getUser(post.author.name);
const user = await getUser(post.author.name, reddit);
return {...accUserPosts, [post.author.name]: {...user, posts: [post]}}
}), userPosts);