chore: tweak feature matrix

This commit is contained in:
Steven
2024-08-12 21:29:57 +08:00
parent 00e2a6fd96
commit 7c31fd444c
13 changed files with 176 additions and 198 deletions

View File

@ -33,7 +33,8 @@ func NewLicenseService(profile *profile.Profile, store *store.Store) *LicenseSer
Profile: profile,
Store: store,
cachedSubscription: &v1pb.Subscription{
Plan: v1pb.PlanType_FREE,
Plan: v1pb.PlanType_FREE,
Seats: 5,
},
}
}
@ -45,8 +46,10 @@ func (s *LicenseService) LoadSubscription(ctx context.Context) (*v1pb.Subscripti
if err != nil {
return nil, errors.Wrap(err, "failed to get workspace setting")
}
subscription := &v1pb.Subscription{
Plan: v1pb.PlanType_FREE,
Plan: v1pb.PlanType_FREE,
Seats: 5,
}
licenseKey := ""
if workspaceSettingGeneral != nil {