(entity: ApiKey)
| 81 | } |
| 82 | |
| 83 | private map(entity: ApiKey): ApiKeyResponseDto { |
| 84 | return { |
| 85 | id: entity.id, |
| 86 | name: entity.name, |
| 87 | createdAt: entity.createdAt, |
| 88 | updatedAt: entity.updatedAt, |
| 89 | permissions: entity.permissions as Permission[], |
| 90 | }; |
| 91 | } |
| 92 | } |
no outgoing calls