From a3454ed515a09f212bbafa311b5c8207f9f4b30d Mon Sep 17 00:00:00 2001 From: pseudoyu Date: Wed, 23 Oct 2024 21:33:52 +0800 Subject: [PATCH] chore: change github activity view to notification --- lib/routes/github/activity.ts | 2 +- lib/routes/github/trending.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/routes/github/activity.ts b/lib/routes/github/activity.ts index 658567fb1..bf892eeab 100644 --- a/lib/routes/github/activity.ts +++ b/lib/routes/github/activity.ts @@ -12,7 +12,7 @@ export const route: Route = { maintainers: ['hyoban'], example: '/github/activity/DIYgod', categories: ['programming', 'popular'], - view: ViewType.Articles, + view: ViewType.Notifications, parameters: { user: 'GitHub username', }, diff --git a/lib/routes/github/trending.ts b/lib/routes/github/trending.ts index 8abb894bc..bb10ea861 100644 --- a/lib/routes/github/trending.ts +++ b/lib/routes/github/trending.ts @@ -13,7 +13,7 @@ export const route: Route = { path: '/trending/:since/:language/:spoken_language?', categories: ['programming', 'popular'], example: '/github/trending/daily/javascript/en', - view: ViewType.Articles, + view: ViewType.Notifications, parameters: { since: { description: 'time range',