Skip to content

Commit 539389e

Browse files
committed
Refactor assignee assignment in stateToNode function
1 parent 5690d16 commit 539389e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/flow/routers/ticket/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const stateToNode = (
7171
type: Types.open_ticket,
7272
body: state.body.value,
7373
topic: topic ? { uuid: topic.uuid, name: topic.name } : null,
74-
assignee: assignee ? { email: assignee.email, name: getUserName(assignee) } : null,
74+
assignee,
7575
result_name: state.resultName.value
7676
};
7777

0 commit comments

Comments
 (0)