Update user endpoint definitions to include profile and teams retrieval

- Added new endpoints for retrieving user profile and teams in the user scope initialization.
- Ensured the existing endpoint for team selection remains included for continued functionality.
This commit is contained in:
Max 2025-11-04 17:31:33 +08:00
parent 007cf0adb9
commit e1405a5fa2

View file

@ -28,8 +28,10 @@ func init() {
Name: ScopeTeamSelection,
Description: "Team selection - temporary access for selecting a team after login",
Endpoints: []string{
"POST /user/teams/select",
"GET /user/profile",
"GET /user/teams",
"GET /user/teams/config",
"POST /user/teams/select",
"GET /file/:uploaderID/:fileID/content",
},
},