Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Stepan Kiryakov <[email protected]>
  • Loading branch information
Stepan-Kirjakov committed Dec 30, 2024
1 parent 6b30bc4 commit 4793d46
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export class NavItem implements TreeNode {
title: item.name || '',
name: item.name || '',
description: item.description || '',
owner: item.owner || '',
owner: item.creator || '',
messageId: item.messageId,
config: item.config,
}
Expand All @@ -265,7 +265,7 @@ export class NavItem implements TreeNode {
title: item.name || '',
name: item.name || '',
description: item.description || '',
owner: item.owner || '',
owner: item.creator || '',
messageId: item.messageId,
config: item.config,
}
Expand Down
1 change: 1 addition & 0 deletions guardian-service/src/api/policy-labels.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,7 @@ export async function policyLabelsAPI(logger: PinoLogger): Promise<void> {
delete label.id;
delete label.status;
delete label.owner;
delete label.topicId;
label.creator = owner.creator;
label.owner = owner.owner;
label.policyId = policyId;
Expand Down
1 change: 1 addition & 0 deletions guardian-service/src/api/policy-statistics.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,7 @@ export async function statisticsAPI(logger: PinoLogger): Promise<void> {
delete definition.status;
delete definition.owner;
delete definition.messageId;
delete definition.topicId;
definition.creator = owner.creator;
definition.owner = owner.owner;
definition.policyId = policyId;
Expand Down
1 change: 1 addition & 0 deletions interfaces/src/interface/policy-label.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export interface IPolicyLabel {
policyId?: string;
messageId?: string;
owner?: string;
creator?: string;
status?: string;
config?: IPolicyLabelConfig;
}
1 change: 1 addition & 0 deletions interfaces/src/interface/statistic.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export interface IStatistic {
policyId?: string;
messageId?: string;
owner?: string;
creator?: string;
status?: string;
config?: IStatisticConfig;
}

0 comments on commit 4793d46

Please sign in to comment.