Skip to content

Commit df73fa9

Browse files
Apply suggestion from @OrriMandarin
Co-authored-by: Léo JI <[email protected]>
1 parent 5ce6c56 commit df73fa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

usecases/case_usecase.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1895,7 +1895,7 @@ func (usecase *CaseUseCase) EscalateCase(ctx context.Context, caseId string) err
18951895
}
18961896
if hasAiCaseReviewEnabled {
18971897
// direct read through repository, because we may not have permission on this inbox in this situation.
1898-
inbox, err := usecase.repository.GetInboxById(ctx, exec, targetInbox.Id)
1898+
inbox, err := usecase.repository.GetInboxById(ctx, tx, targetInbox.Id)
18991899
if err != nil {
19001900
return errors.Wrap(err, "error getting inbox")
19011901
}

0 commit comments

Comments
 (0)