diff --git a/routers/api/v1/repo/license_key.go b/routers/api/v1/repo/license_key.go index 0fc16981b6..77c83fe796 100644 --- a/routers/api/v1/repo/license_key.go +++ b/routers/api/v1/repo/license_key.go @@ -82,6 +82,7 @@ func CreateLicensePackage(ctx *context.APIContext) { MaxSites: form.MaxSites, RepoScope: form.RepoScope, AllowedChannels: form.AllowedChannels, + IsActive: true, } if pkg.RepoScope == "" { pkg.RepoScope = "all"