Skip to content

Commit f9fc171

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

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
@@ -1811,7 +1811,7 @@ func (usecase *CaseUseCase) EscalateCase(ctx context.Context, caseId string) err
18111811
}
18121812
if hasAiCaseReviewEnabled {
18131813
// direct read through repository, because we may not have permission on this inbox in this situation.
1814-
inbox, err := usecase.repository.GetInboxById(ctx, exec, targetInbox.Id)
1814+
inbox, err := usecase.repository.GetInboxById(ctx, tx, targetInbox.Id)
18151815
if err != nil {
18161816
return errors.Wrap(err, "error getting inbox")
18171817
}

0 commit comments

Comments
 (0)