parent
74a42b739f
commit
02ffc1fb88
1 changed files with 2 additions and 2 deletions
|
@ -46,12 +46,12 @@ export const DuplicateFlowModal = ({
|
|||
try {
|
||||
await adminClient.authenticationManagement.copyFlow({
|
||||
flow: name,
|
||||
newName: form.name,
|
||||
newName: form.alias,
|
||||
});
|
||||
if (form.description !== description) {
|
||||
const newFlow = (
|
||||
await adminClient.authenticationManagement.getFlows()
|
||||
).find((flow) => flow.alias === form.name)!;
|
||||
).find((flow) => flow.alias === form.alias)!;
|
||||
|
||||
newFlow.description = form.description;
|
||||
await adminClient.authenticationManagement.updateFlow(
|
||||
|
|
Loading…
Reference in a new issue