Skip to content

Commit 1cd57d6

Browse files
authored
fix(porkbun): remove trailing '.' from alias delete request (#775)
1 parent d04c67c commit 1cd57d6

File tree

1 file changed

+1
-1
lines changed
  • internal/provider/providers/porkbun

1 file changed

+1
-1
lines changed

internal/provider/providers/porkbun/api.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func (p *Provider) updateRecord(ctx context.Context, client *http.Client,
175175
func (p *Provider) deleteAliasRecord(ctx context.Context, client *http.Client) (err error) {
176176
var subdomain string
177177
if p.owner != "@" {
178-
subdomain = p.owner + "."
178+
subdomain = p.owner
179179
}
180180
u := url.URL{
181181
Scheme: "https",

0 commit comments

Comments
 (0)