mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-21 16:48:43 +00:00
feat: video download
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -176,10 +176,11 @@ class Request {
|
||||
);
|
||||
}
|
||||
|
||||
dio.transformer = BackgroundTransformer();
|
||||
dio.options.validateStatus = (int? status) {
|
||||
return status! >= 200 && status < 300;
|
||||
};
|
||||
dio
|
||||
..transformer = BackgroundTransformer()
|
||||
..options.validateStatus = (int? status) {
|
||||
return status != null && status >= 200 && status < 300;
|
||||
};
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user