diff --git a/lib/routes/chub/characters.ts b/lib/routes/chub/characters.ts
index bf9732eff7..0f34350658 100644
--- a/lib/routes/chub/characters.ts
+++ b/lib/routes/chub/characters.ts
@@ -11,7 +11,6 @@ export const route: Route = {
handler,
};
-
async function handler() {
const hostURL = 'https://www.chub.ai/characters';
const apiURL = 'https://api.chub.ai/api/characters/search';
@@ -50,19 +49,16 @@ async function handler() {
allowEmpty: true,
title: 'Chub',
link: hostURL,
- item: nodes
- .map((item) => ({
- title: item.name,
- description: `${item.tagline}
${item.description}`,
- pubDate: parseDate(item.createdAt),
- updated: parseDate(item.lastActivityAt),
- link: `${hostURL}/${item.fullPath}`,
- author: String(item.fullPath.split('/', 1)),
- enclosure_url: item.avatar_url,
- enclosure_type: `image/webp`,
- category: item.topics,
- })),
+ item: nodes.map((item) => ({
+ title: item.name,
+ description: `${item.tagline}
${item.description}`,
+ pubDate: parseDate(item.createdAt),
+ updated: parseDate(item.lastActivityAt),
+ link: `${hostURL}/${item.fullPath}`,
+ author: String(item.fullPath.split('/', 1)),
+ enclosure_url: item.avatar_url,
+ enclosure_type: `image/webp`,
+ category: item.topics,
+ })),
};
}
-
-