diff --git a/src/services/api/routes/topics.ts b/src/services/api/routes/topics.ts index c4d8ece..23d2cb6 100644 --- a/src/services/api/routes/topics.ts +++ b/src/services/api/routes/topics.ts @@ -94,6 +94,8 @@ async function generateTopicsXML(communities: HydratedCommunityDocument[]): Prom } }); } + + json.result.topics.push(topic); } return xmlbuilder.create(json).end({ pretty: true, allowEmpty: true });