mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 01:05:48 +00:00
Don't expose task data via api (#4108)
This commit is contained in:
@@ -22,7 +22,7 @@ import (
|
||||
// Task defines scheduled pipeline Task.
|
||||
type Task struct {
|
||||
ID string `json:"id" xorm:"PK UNIQUE 'id'"`
|
||||
Data []byte `json:"data" xorm:"LONGBLOB 'data'"`
|
||||
Data []byte `json:"-" xorm:"LONGBLOB 'data'"`
|
||||
Labels map[string]string `json:"labels" xorm:"json 'labels'"`
|
||||
Dependencies []string `json:"dependencies" xorm:"json 'dependencies'"`
|
||||
RunOn []string `json:"run_on" xorm:"json 'run_on'"`
|
||||
|
Reference in New Issue
Block a user