mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-29 12:38:34 +00:00
opt ui
opt req Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -103,18 +103,20 @@ class FavHttp {
|
||||
var res = type == 11
|
||||
? await Request().post(
|
||||
Api.unfavFolder,
|
||||
queryParameters: {
|
||||
data: {
|
||||
'media_id': id,
|
||||
'csrf': Accounts.main.csrf,
|
||||
},
|
||||
options: Options(contentType: Headers.formUrlEncodedContentType),
|
||||
)
|
||||
: await Request().post(
|
||||
Api.unfavSeason,
|
||||
queryParameters: {
|
||||
data: {
|
||||
'platform': 'web',
|
||||
'season_id': id,
|
||||
'csrf': Accounts.main.csrf,
|
||||
},
|
||||
options: Options(contentType: Headers.formUrlEncodedContentType),
|
||||
);
|
||||
if (res.data['code'] == 0) {
|
||||
return {'status': true};
|
||||
|
||||
Reference in New Issue
Block a user