fix(core-flows,workflows-sdk): compensate account holders only when its created (#12825)

* fix(core-flows,workflows-sdk): compensate account holders only when its created

* chore: remove only
This commit is contained in:
Riqwan Thamir authored and GitHub committed 2025-06-26 12:30:08 +02:00
1 parent 10dff3e266
commit 9a62f359f1
5 files changed
+166 -21

No files matched your search

@@ -38,7 +38,9 @@ export class StepResponse<TOutput, TCompensateInput = TOutput> {
if (isDefined(output)) {
this.#output = output
}
this.#compensateInput = (compensateInput ?? output) as TCompensateInput
this.#compensateInput = (
isDefined(compensateInput) ? compensateInput : output
) as TCompensateInput
}
/**