diff options
Diffstat (limited to 'src/routes')
| -rw-r--r-- | src/routes/feeds/activity-notifications/+server.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/feeds/activity-notifications/+server.ts b/src/routes/feeds/activity-notifications/+server.ts index f0482194..ca1464bd 100644 --- a/src/routes/feeds/activity-notifications/+server.ts +++ b/src/routes/feeds/activity-notifications/+server.ts @@ -13,7 +13,7 @@ const render = (posts: Notification[] = []) => `<?xml version="1.0" encoding="UT xmlns:media="http://search.yahoo.com/mrss/"> <channel> <atom:link href="https://due.moe/feeds/activity-notifications" rel="self" type="application/rss+xml" /> - <title>期限 | AniList Notifications</title> + <title>AniList Notifications • due.moe</title> <link>https://due.moe</link> <description>Instantly view your AniList notifications via RSS!</description> <pubDate>${new Date().toUTCString()}</pubDate> @@ -39,7 +39,7 @@ const render = (posts: Notification[] = []) => `<?xml version="1.0" encoding="UT ) { link = `https://anilist.co/activity/${notification.activity.id}`; } else if (notification.type.toString().includes('THREAD')) { - title += `${notification.thread.title}`; + title += `${notification.thread.title || notification.thread.id}`; link = `https://anilist.co/forum/thread/${notification.thread.id}`; } |