Fixed muistyping

This commit is contained in:
2025-01-14 23:45:09 +03:00
parent 8423c72380
commit 3d0ca816ff

View File

@ -111,7 +111,7 @@ func (c *client) UpdateRecord(rec *dns.Record) (error, *dns.Response) {
request_body, err := json.Marshal(&dnsexitDTO{
ApiKey: c.API_KEY,
Domain: c.Domain,
Delete: rec,
Update: rec,
})
if err != nil {
return err, nil