diff --git a/web/src/admin/flows/StageBindingForm.ts b/web/src/admin/flows/StageBindingForm.ts index fd927c4b0..2565b122a 100644 --- a/web/src/admin/flows/StageBindingForm.ts +++ b/web/src/admin/flows/StageBindingForm.ts @@ -47,11 +47,12 @@ export class StageBindingForm extends ModelForm { return t`Successfully created binding.`; } } + send(data: FlowStageBinding): Promise { if (this.instance?.pk) { - return new FlowsApi(DEFAULT_CONFIG).flowsBindingsUpdate({ + return new FlowsApi(DEFAULT_CONFIG).flowsBindingsPartialUpdate({ fsbUuid: this.instance.pk, - flowStageBindingRequest: data, + patchedFlowStageBindingRequest: data, }); } else { if (this.targetPk) {