690328:1106 Fixing Refactor uuid by Kimi #01
CI / CD Pipeline / build (push) Successful in 5m11s
CI / CD Pipeline / deploy (push) Failing after 4m28s

This commit is contained in:
2026-03-28 11:06:25 +07:00
parent 76b18e7c37
commit da8579d21b
24 changed files with 606 additions and 182 deletions
@@ -17,7 +17,7 @@ import { Organization } from '../../organization/entities/organization.entity';
import { UserAssignment } from './user-assignment.entity';
import { UserPreference } from './user-preference.entity';
import { UuidBaseEntity } from '../../../common/entities/uuid-base.entity';
import { Exclude, Expose } from 'class-transformer';
import { Exclude } from 'class-transformer';
@Entity('users')
export class User extends UuidBaseEntity {
@@ -65,7 +65,6 @@ export class User extends UuidBaseEntity {
organization?: Organization;
// ADR-019: Expose UUID instead of INT ID
@Expose({ name: 'primaryOrganizationId' })
get primaryOrganizationPublicId(): string | undefined {
return this.organization?.publicId;
}