File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import { AuthUsersService } from '@vidya/api/auth/services';
1818import { Routes } from '@vidya/protocol' ;
1919
2020@Controller ( )
21- @ApiTags ( 'User ' )
21+ @ApiTags ( 'Authentication ' )
2222export class ProfileController {
2323 constructor ( private readonly usersService : AuthUsersService ) { }
2424
Original file line number Diff line number Diff line change @@ -9,8 +9,11 @@ import { CrudDecorators } from '@vidya/api/utils';
99import * as entities from '@vidya/entities' ;
1010import { Routes } from '@vidya/protocol' ;
1111
12+ // TODO Add documentation configurations, to change doc:
13+ // Get many UserRoles -> Get all roles of a user
14+ // Create a new UserRole -> Set roles for a user
1215const Crud = CrudDecorators ( {
13- entityName : 'Role ' ,
16+ entityName : 'UserRole ' ,
1417 getManyResponseDto : dto . GetUserRolesListResponse ,
1518 createOneResponseDto : dto . SetUserRolesResponse ,
1619} ) ;
You can’t perform that action at this time.
0 commit comments