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:
@@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user