diff options
Diffstat (limited to 'models/migrations/v130.go')
-rw-r--r-- | models/migrations/v130.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/models/migrations/v130.go b/models/migrations/v130.go index 08a8d5fca1..7ffed3fd17 100644 --- a/models/migrations/v130.go +++ b/models/migrations/v130.go @@ -5,8 +5,8 @@ package migrations import ( + "code.gitea.io/gitea/modules/json" "code.gitea.io/gitea/modules/setting" - jsoniter "github.com/json-iterator/go" "xorm.io/xorm" ) @@ -70,7 +70,6 @@ func expandWebhooks(x *xorm.Engine) error { for _, res := range results { var events HookEvent - json := jsoniter.ConfigCompatibleWithStandardLibrary if err = json.Unmarshal([]byte(res.Events), &events); err != nil { return err } |