mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-06-11 00:49:36 +00:00
Small fix
This commit is contained in:
parent
6655b12cdf
commit
df8ebfcec1
1 changed files with 10 additions and 1 deletions
|
@ -958,7 +958,16 @@ Future updateLists({
|
|||
}
|
||||
}
|
||||
else {
|
||||
return result;
|
||||
return {
|
||||
'result': 'error',
|
||||
'log': AppLog(
|
||||
type: 'update_lists',
|
||||
dateTime: DateTime.now(),
|
||||
message: 'no_response',
|
||||
statusCode: result.map((res) => res['statusCode'] ?? 'null').toString(),
|
||||
resBody: result.map((res) => res['body'] ?? 'null').toString(),
|
||||
)
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue