diff --git a/lib/routes/github/notifications.ts b/lib/routes/github/notifications.ts index 3c658fd2a..335fa58e2 100644 --- a/lib/routes/github/notifications.ts +++ b/lib/routes/github/notifications.ts @@ -31,7 +31,7 @@ export const route: Route = { async function handler(ctx) { if (!config.github || !config.github.access_token) { - throw new ConfigNotFoundError('GitHub trending RSS is disabled due to the lack of relevant config'); + throw new ConfigNotFoundError('GitHub notification RSS is disabled due to the lack of relevant config'); } const headers = { Accept: 'application/vnd.github.v3+json', @@ -74,5 +74,6 @@ async function handler(ctx) { title: 'Github Notifications', link: 'https://github.com/notifications', item: items, + allowEmpty: true, }; }