👽 Update the articles url to new

This commit is contained in:
2026-01-02 20:33:04 +08:00
parent 1d99ac6441
commit 46a826ff86
5 changed files with 10 additions and 10 deletions

View File

@@ -42,7 +42,7 @@ class ArticlesListNotifier extends AsyncNotifier<PaginationState<SnWebArticle>>
try {
final response = await client.get(
'/sphere/feeds/articles',
'/insight/feeds/articles',
queryParameters: queryParams,
);
@@ -98,7 +98,7 @@ class SliverArticlesList extends ConsumerWidget {
@riverpod
Future<List<SnWebFeed>> subscribedFeeds(Ref ref) async {
final client = ref.watch(apiClientProvider);
final response = await client.get('/sphere/feeds/subscribed');
final response = await client.get('/insight/feeds/subscribed');
final data = response.data as List<dynamic>;
return data.map((json) => SnWebFeed.fromJson(json)).toList();
}