mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-17 22:29:15 +00:00
chore: Remove unused function from Desec API
This commit is contained in:
parent
0d49b89e43
commit
3fedb17553
|
@ -4,7 +4,6 @@ import 'package:dio/dio.dart';
|
|||
import 'package:selfprivacy/config/get_it_config.dart';
|
||||
import 'package:selfprivacy/logic/api_maps/rest_maps/dns_providers/dns_provider.dart';
|
||||
import 'package:selfprivacy/logic/models/hive/server_domain.dart';
|
||||
import 'package:selfprivacy/logic/models/json/dns_records.dart';
|
||||
|
||||
class DesecApi extends DnsProviderApi {
|
||||
DesecApi({
|
||||
|
@ -171,15 +170,6 @@ class DesecApi extends DnsProviderApi {
|
|||
return GenericResult(success: true, data: null);
|
||||
}
|
||||
|
||||
String? extractContent(final DnsRecord record) {
|
||||
String? content = record.content;
|
||||
if (record.type == 'TXT' && content != null && !content.startsWith('"')) {
|
||||
content = '"$content"';
|
||||
}
|
||||
|
||||
return content;
|
||||
}
|
||||
|
||||
Future<GenericResult<List>> getDomains() async {
|
||||
List domains = [];
|
||||
|
||||
|
|
Loading…
Reference in a new issue