mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-03-30 09:55:01 +00:00
- Introduced a new function `GetUserUsableGroupsCopy` to return a copy of user usable groups. - Updated `GetUserUsableGroups` to utilize the new function for better encapsulation. - Changed variable names from `UserUsableGroups` to `userUsableGroups` for consistency. - Enhanced `GetUserUsableGroups` logic to ensure it returns a copy of the groups, preventing unintended modifications.