fix(ddns): add missing field WebhookRequestType (#436)

* fix(ddns): add missing field WebhookRequestType

* add missing placeholders
This commit is contained in:
UUBulb
2024-10-17 23:35:28 +08:00
committed by GitHub
parent a503f0cf40
commit be7b6e9c5e
9 changed files with 48 additions and 19 deletions

View File

@@ -781,6 +781,7 @@ type ddnsForm struct {
AccessSecret string
WebhookURL string
WebhookMethod uint8
WebhookRequestType uint8
WebhookRequestBody string
WebhookHeaders string
}
@@ -809,6 +810,7 @@ func (ma *memberAPI) addOrEditDDNS(c *gin.Context) {
p.AccessSecret = df.AccessSecret
p.WebhookURL = df.WebhookURL
p.WebhookMethod = df.WebhookMethod
p.WebhookRequestType = df.WebhookRequestType
p.WebhookRequestBody = df.WebhookRequestBody
p.WebhookHeaders = df.WebhookHeaders