Skip to content

Commit e2dc181

Browse files
committed
Fix handling multiple instances
1 parent 06b69c5 commit e2dc181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ const bot = new LemmyBot.LemmyBot({
191191

192192
for (const community of communities) {
193193
if (community.feeds.includes(feed.name)) {
194-
const communityId = await getCommunityId(community.slug)
194+
const communityId = await getCommunityId({ name: community.slug, instance: community.instance })
195195
await createPost({
196196
name: item.title,
197197
body: ((feed.content && feed.content === 'summary') ? item.summary : item.content),

0 commit comments

Comments
 (0)