From 0a4eaecd0e432beefb64f9147580f9bc9f843165 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 17 Sep 2023 20:53:09 -0700 Subject: feat(notifications): link to thread for threads --- src/lib/AniList/notifications.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/AniList/notifications.ts') diff --git a/src/lib/AniList/notifications.ts b/src/lib/AniList/notifications.ts index 671f2146..b236e994 100644 --- a/src/lib/AniList/notifications.ts +++ b/src/lib/AniList/notifications.ts @@ -7,6 +7,7 @@ export interface Notification { }; thread: { title: string; + id: number; }; context: string; id: number; @@ -31,7 +32,7 @@ export const notifications = async (accessToken: string): Promise `... on ${type} { - id user { name avatar { large } } context createdAt type thread { title } + id user { name avatar { large } } context createdAt type thread { title id } }`; return ( -- cgit v1.2.3