mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 00:51:20 +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 = [];
|
||||
for (final record in records) {
|
||||
allDeleteFutures.add(
|
||||
client.delete('/domains/$domainName/records/${record.id}'),
|
||||
client.delete("/domains/$domainName/records/${record['id']}"),
|
||||
);
|
||||
}
|
||||
await Future.wait(allDeleteFutures);
|
||||
|
|
Loading…
Reference in a new issue