mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-04-21 22:39:11 +00:00
Small fix
This commit is contained in:
parent
6fcd03f899
commit
e2ea7ba51a
1 changed files with 2 additions and 2 deletions
|
@ -2025,8 +2025,8 @@ class ApiClient {
|
|||
),
|
||||
]);
|
||||
|
||||
if (result[0]['hasResponse'] == true && result[0]['hasResponse'] == true) {
|
||||
if (result[0]['statusCode'] == 200 && result[0]['statusCode'] == 200) {
|
||||
if (result[0]['hasResponse'] == true && result[1]['hasResponse'] == true) {
|
||||
if (result[0]['statusCode'] == 200 && result[1]['statusCode'] == 200) {
|
||||
final Map<String, dynamic> obj = {
|
||||
...jsonDecode(result[0]['body']),
|
||||
'current_version': jsonDecode(result[1]['body'])['version']
|
||||
|
|
Loading…
Add table
Reference in a new issue