diff options
| author | Fuwn <[email protected]> | 2024-01-13 01:22:04 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-13 01:22:04 -0800 |
| commit | 4f24f79931cc9d90969ae3a12a911c211d9d1b31 (patch) | |
| tree | c0b800337b0670c1a1c7b9756ac29f4641b5a2ef /src/lib/AniList/user.ts | |
| parent | feat(settings): disable notifications option (diff) | |
| download | due.moe-4f24f79931cc9d90969ae3a12a911c211d9d1b31.tar.xz due.moe-4f24f79931cc9d90969ae3a12a911c211d9d1b31.zip | |
feat(user): show banner
Diffstat (limited to 'src/lib/AniList/user.ts')
| -rw-r--r-- | src/lib/AniList/user.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/AniList/user.ts b/src/lib/AniList/user.ts index acfb2913..c6b8189a 100644 --- a/src/lib/AniList/user.ts +++ b/src/lib/AniList/user.ts @@ -18,6 +18,7 @@ export interface User { avatar: { large: string; }; + bannerImage: string; } export interface FullUser { @@ -54,7 +55,7 @@ export const user = async (username: string): Promise<User> => }, body: JSON.stringify({ query: `{ User(name: "${username}") { - name id avatar { large } statistics { + name id bannerImage avatar { large } statistics { anime { count meanScore minutesWatched episodesWatched } |