chore: update get workspace profile

This commit is contained in:
Steven
2023-09-24 09:42:05 +08:00
parent 0907ad2681
commit a1d1e0f0f2
4 changed files with 32 additions and 6 deletions

View File

@ -96,6 +96,10 @@ func (s *LicenseService) UpdateSubscription(ctx context.Context, licenseKey stri
return s.LoadSubscription(ctx)
}
func (s *LicenseService) GetSubscription(ctx context.Context) (*apiv2pb.Subscription, error) {
return s.LoadSubscription(ctx)
}
func (s *LicenseService) IsFeatureEnabled(feature FeatureType) bool {
matrix, ok := FeatureMatrix[feature]
if !ok {