Skip to content

Commit

Permalink
bugfix for 自定义首页模型请求地址编码问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mylxsw committed Feb 18, 2024
1 parent 0939354 commit 7dc2c49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/repo/api_server.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1758,7 +1758,7 @@ class APIServer {
required String uniqueKey,
}) async {
return sendCachedGetRequest(
'/v2/models/home-models/${Uri.decodeComponent(uniqueKey)}',
'/v2/models/home-models/${Uri.encodeComponent(uniqueKey)}',
(value) {
return HomeModelV2.fromJson(value.data['data']);
},
Expand Down

0 comments on commit 7dc2c49

Please sign in to comment.