add missing comment and code

This commit is contained in:
MaysWind
2025-10-25 15:40:59 +08:00
parent af586a0432
commit 8584e84af9
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -376,6 +376,7 @@ max_user_avatar_size = 1048576
# 11: Clear All Data
# 12: Sync Application Settings
# 13: MCP (Model Context Protocol) Access
# 14: Create Transactions from AI Image Recognition
default_feature_restrictions =
[data]
+2
View File
@@ -124,6 +124,8 @@ func (t UserFeatureRestrictionType) String() string {
return "Sync Application Settings"
case USER_FEATURE_RESTRICTION_TYPE_MCP_ACCESS:
return "MCP (Model Context Protocol) Access"
case USER_FEATURE_RESTRICTION_TYPE_CREATE_TRANSACTION_FROM_AI_IMAGE_RECOGNITION:
return "Create Transaction from AI Image Recognition"
default:
return fmt.Sprintf("Invalid(%d)", int(t))
}