debug done.

This commit is contained in:
Sense T
2024-04-19 13:52:33 +08:00
parent 47335ca5e9
commit af9d966376
6 changed files with 16 additions and 14 deletions

View File

@@ -234,7 +234,7 @@ func updateRecord(c *gin.Context) {
}
domain := c.Param("domain")
if domain != record.Zone {
if domain != record.WithOutDotTail() {
c.JSON(http.StatusBadRequest, Response{
Succeed: false,
Message: "request body doesn't match URI",