chore: update get workspace profile

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

No files matched your search

+4
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 {