Open timolegros opened 1 year ago
Already done.
@rbennettcw I do not think this is complete. From what I can see we are using chain
rather than community_id
in post requests from the Discord bot. This is handled by the validateCommunityWithTopics
middleware which looks for req.chain
and req.community
.
Child of #5290
Description
The
discordConsumer.ts
contains the following references to theChains
table:/api/bot/threads
route body propertychain
/api/bot/threads/${thread_id}/comments
route body propertychain
/api/bot/comments/${parsedMessage.message_id}
route body propertychain
Project Owner
@timolegros
Engineering Requirements
Acceptance Criteria
Additional context