aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/v180.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v180.go')
-rw-r--r--models/migrations/v180.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/models/migrations/v180.go b/models/migrations/v180.go
index 8a7637deba..1b735c2035 100644
--- a/models/migrations/v180.go
+++ b/models/migrations/v180.go
@@ -5,9 +5,9 @@
package migrations
import (
+ "code.gitea.io/gitea/modules/json"
"code.gitea.io/gitea/modules/util"
- jsoniter "github.com/json-iterator/go"
"xorm.io/builder"
"xorm.io/xorm"
)
@@ -105,7 +105,6 @@ func removeCredentials(payload string) (string, error) {
}
var opts MigrateOptions
- json := jsoniter.ConfigCompatibleWithStandardLibrary
err := json.Unmarshal([]byte(payload), &opts)
if err != nil {
return "", err