Skip to content

Commit

Permalink
fix: article api
Browse files Browse the repository at this point in the history
  • Loading branch information
sukinosuki committed Sep 9, 2024
1 parent a4cdfa1 commit af6af06
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion lib/api/ArticleApi.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ArticleApi {

Future<Response<List<Article>>> articleList(Map<String, String> params) {
return http.get(
'/api/v121/articles',
'/api/v1/articles',
query: params,
decoder: (data) => (data as List<dynamic>).map(Article.fromJson).toList(),
);
Expand Down
8 changes: 0 additions & 8 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -957,14 +957,6 @@ packages:
url: "https://pub.flutter-io.cn"
source: hosted
version: "5.1.0"
visibility_detector:
dependency: "direct main"
description:
name: visibility_detector
sha256: dd5cc11e13494f432d15939c3aa8ae76844c42b723398643ce9addb88a5ed420
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.4.0+2"
vm_service:
dependency: transitive
description:
Expand Down

0 comments on commit af6af06

Please sign in to comment.