aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/packages/npm/npm.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/packages/npm/npm.go')
-rw-r--r--routers/api/packages/npm/npm.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/api/packages/npm/npm.go b/routers/api/packages/npm/npm.go
index d127134d44..152edc681a 100644
--- a/routers/api/packages/npm/npm.go
+++ b/routers/api/packages/npm/npm.go
@@ -18,6 +18,7 @@ import (
packages_module "code.gitea.io/gitea/modules/packages"
npm_module "code.gitea.io/gitea/modules/packages/npm"
"code.gitea.io/gitea/modules/setting"
+ "code.gitea.io/gitea/modules/util"
"code.gitea.io/gitea/routers/api/packages/helper"
packages_service "code.gitea.io/gitea/services/packages"
@@ -261,6 +262,7 @@ func setPackageTag(tag string, pv *packages_model.PackageVersion, deleteOnly boo
Properties: map[string]string{
npm_module.TagProperty: tag,
},
+ IsInternal: util.OptionalBoolFalse,
})
if err != nil {
return err