Explorar o código

Fixed Webhook URL-length Issue #2465

Kim "BKC" Carlbäcker %!s(int64=9) %!d(string=hai) anos
pai
achega
edc414c584
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