diff --git a/routers/api/packages/npm/npm.go b/routers/api/packages/npm/npm.go index 7c1d4e7a84..706676eaf4 100644 --- a/routers/api/packages/npm/npm.go +++ b/routers/api/packages/npm/npm.go @@ -12,13 +12,12 @@ import ( "net/http" "strings" - "code.gitea.io/gitea/modules/log" - "code.gitea.io/gitea/models/db" packages_model "code.gitea.io/gitea/models/packages" access_model "code.gitea.io/gitea/models/perm/access" repo_model "code.gitea.io/gitea/models/repo" "code.gitea.io/gitea/models/unit" + "code.gitea.io/gitea/modules/log" "code.gitea.io/gitea/modules/optional" packages_module "code.gitea.io/gitea/modules/packages" npm_module "code.gitea.io/gitea/modules/packages/npm"