fix(api): set IsActive=true when creating license packages #262
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user