|
|
@@ -41,9 +41,9 @@ export class ApiUserController {
|
|
|
@Get('/get/:id')
|
|
|
public async get(@Param('id') id: string, @Req() req) {
|
|
|
const chatRole = await this.apiUserService.findById(Number(id))
|
|
|
- if (!req.user || req.user.apiUserId != chatRole.id) {
|
|
|
- chatRole.code = ''
|
|
|
- }
|
|
|
+ // if (!req.user || req.user.apiUserId != chatRole.id) {
|
|
|
+ // chatRole.code = ''
|
|
|
+ // }
|
|
|
return chatRole
|
|
|
}
|
|
|
|