mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-14 05:52:51 +00:00
Extracted dns rewrites
This commit is contained in:
parent
9460da6dcb
commit
5afe912e7e
8 changed files with 80 additions and 99 deletions
|
@ -1528,8 +1528,8 @@ Future getDnsRewriteRules({
|
|||
|
||||
if (result['hasResponse'] == true) {
|
||||
if (result['statusCode'] == 200) {
|
||||
final List<RewriteRulesData> data = List<RewriteRulesData>.from(
|
||||
jsonDecode(result['body']).map((item) => RewriteRulesData.fromJson(item))
|
||||
final List<RewriteRules> data = List<RewriteRules>.from(
|
||||
jsonDecode(result['body']).map((item) => RewriteRules.fromJson(item))
|
||||
);
|
||||
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue