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

* fix(ddns): add missing field WebhookRequestType

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

No files matched your search

+2
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