mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
some fix (#480)
* fix dislikeVideo * fix profile update * show login toast
This commit is contained in:
committed by
GitHub
parent
b15fdfa2ff
commit
066f3d4132
@@ -519,6 +519,7 @@ class VideoHttp {
|
||||
'aid': IdUtils.bv2av(bvid).toString(),
|
||||
'dislike': type ? '0' : '1',
|
||||
},
|
||||
options: Options(contentType: Headers.formUrlEncodedContentType),
|
||||
);
|
||||
if (res.data is! String && res.data['code'] == 0) {
|
||||
return {'status': true};
|
||||
|
||||
Reference in New Issue
Block a user