mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-09 01:21:14 +00:00
fix: Change .id field to ['id'] for DnsRecord in Digital Ocean DNS
This commit is contained in:
parent
55f62f1200
commit
bfd67bac8d
|
@ -105,7 +105,7 @@ class DigitalOceanDnsApi extends DnsProviderApi {
|
||||||
final List<Future> allDeleteFutures = [];
|
final List<Future> allDeleteFutures = [];
|
||||||
for (final record in records) {
|
for (final record in records) {
|
||||||
allDeleteFutures.add(
|
allDeleteFutures.add(
|
||||||
client.delete('/domains/$domainName/records/${record.id}'),
|
client.delete("/domains/$domainName/records/${record['id']}"),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
await Future.wait(allDeleteFutures);
|
await Future.wait(allDeleteFutures);
|
||||||
|
|
Loading…
Reference in a new issue