From 7dc2c4979500c8c724bced9c3461748e32cceece Mon Sep 17 00:00:00 2001 From: mylxsw Date: Sun, 18 Feb 2024 16:15:32 +0800 Subject: [PATCH] =?UTF-8?q?bugfix=20for=20=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=A8=A1=E5=9E=8B=E8=AF=B7=E6=B1=82=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E7=BC=96=E7=A0=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/repo/api_server.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/repo/api_server.dart b/lib/repo/api_server.dart index df215f7a..fe53b0a1 100644 --- a/lib/repo/api_server.dart +++ b/lib/repo/api_server.dart @@ -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']); },