From ec325c9e6b2563226ebfa36cd834883bb0179b88 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sun, 21 Sep 2025 15:15:50 +0800 Subject: [PATCH] fix AI image recognition limit could not be set for users --- pkg/core/user_feature_restriction.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/core/user_feature_restriction.go b/pkg/core/user_feature_restriction.go index 2e0fa6ed..6f8068ed 100644 --- a/pkg/core/user_feature_restriction.go +++ b/pkg/core/user_feature_restriction.go @@ -93,7 +93,7 @@ const ( ) const userFeatureRestrictionTypeMinValue UserFeatureRestrictionType = USER_FEATURE_RESTRICTION_TYPE_UPDATE_PASSWORD -const userFeatureRestrictionTypeMaxValue UserFeatureRestrictionType = USER_FEATURE_RESTRICTION_TYPE_MCP_ACCESS +const userFeatureRestrictionTypeMaxValue UserFeatureRestrictionType = USER_FEATURE_RESTRICTION_TYPE_CREATE_TRANSACTION_FROM_AI_IMAGE_RECOGNITION // String returns a textual representation of the restriction type of user features func (t UserFeatureRestrictionType) String() string {