Explorar o código

Merge pull request #2483 from bkcsoft/fix/mysql-webhook-url-length

Fixed Webhook URL-length Issue #2465
Unknwon %!s(int64=9) %!d(string=hai) anos
pai
achega
93f40995b3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      models/webhook.go

+ 1 - 1
models/webhook.go

@@ -285,7 +285,7 @@ type HookTask struct {
 	HookID          int64
 	UUID            string
 	Type            HookTaskType
-	URL             string
+	URL             string `xorm:"TEXT"`
 	api.Payloader   `xorm:"-"`
 	PayloadContent  string `xorm:"TEXT"`
 	ContentType     HookContentType