mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-07-29 00:52:37 -04:00
[PR #775] [MERGED] Provider Porkbun: Remove trailing '.' from alias delete request #836
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/qdm12/ddns-updater/pull/775
Author: @bentemple
Created: 7/27/2024
Status: ✅ Merged
Merged: 7/27/2024
Merged by: @qdm12
Base:
master← Head:ben.temple/fix-trailing-period📝 Commits (1)
87815c0Provider Porkbun: Remove trailing '.' from alias delete request📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
internal/provider/providers/porkbun/api.go(+1 -1)📄 Description
Description
The porkbun documentation example request to delete a domain does not contain a trailing '.'
URI Endpoint Example: https://api.porkbun.com/api/json/v3/dns/deleteByNameType/borseth.ink/A/wwwThis updates the code to match that.
Test-Plan
Changed delete to allow arbitrary deletes of any type (instead of just ALIAS)
Changed code to delete+create instead of update to change a porkbun domain Verified that delete works by deleting and creating a domain to update it instead of calling the update endpoint.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.