Skip to content

Commit

Permalink
BKNDLSS-33989 (#248)
Browse files Browse the repository at this point in the history
[SUPPORT] Exception when use upsertOperation resultt in setRelationOperation

Co-authored-by: macbookpro <[email protected]>
  • Loading branch information
andrsvsrg and macbookpro authored Feb 26, 2024
1 parent dc1e8a1 commit acd966b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/unit-of-work/op-result.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ export class OpResult {
}

isObjectRef() {
return this.operationType === OperationType.CREATE || this.operationType === OperationType.UPDATE
return (
this.operationType === OperationType.CREATE ||
this.operationType === OperationType.UPDATE ||
this.operationType === OperationType.UPSERT
)
}

setOpResultId(opResultId) {
Expand Down

0 comments on commit acd966b

Please sign in to comment.