aboutsummaryrefslogtreecommitdiffstats
path: root/modules/updatechecker/update_checker.go
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2021-12-17 02:15:02 +0100
committerGitHub <noreply@github.com>2021-12-17 09:15:02 +0800
commitdab28c7049bdcf0da2b5c907e610c6a502fa37ac (patch)
tree7af3dfc49ab45a7381a98e05dda00766f7de0f3b /modules/updatechecker/update_checker.go
parent83546707085af9b59bdefdfbb2dc5511dadb57d7 (diff)
downloadgitea-dab28c7049bdcf0da2b5c907e610c6a502fa37ac.tar.gz
gitea-dab28c7049bdcf0da2b5c907e610c6a502fa37ac.zip
Use JSON module instead of stdlib json (#18003)
Diffstat (limited to 'modules/updatechecker/update_checker.go')
-rw-r--r--modules/updatechecker/update_checker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/updatechecker/update_checker.go b/modules/updatechecker/update_checker.go
index 01242189fa..6c43309c1e 100644
--- a/modules/updatechecker/update_checker.go
+++ b/modules/updatechecker/update_checker.go
@@ -5,11 +5,11 @@
package updatechecker
import (
- "encoding/json"
"io/ioutil"
"net/http"
"code.gitea.io/gitea/modules/appstate"
+ "code.gitea.io/gitea/modules/json"
"code.gitea.io/gitea/modules/proxy"
"code.gitea.io/gitea/modules/setting"