Skip to content

Commit

Permalink
fix(interactions): do not update lastInteraction with procuration
Browse files Browse the repository at this point in the history
  • Loading branch information
pYassine committed Nov 28, 2023
1 parent e2c145f commit 722a54f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
} from "../../_common/model";
import { interactionsCreator } from "./interactionsCreator.service";
import { interactionsTypeManager } from "./interactionsTypeManager.service";
import { In } from "typeorm";
import { In, Like, Not } from "typeorm";
import { differenceInCalendarDays } from "date-fns";

@Injectable()
Expand Down Expand Up @@ -72,6 +72,7 @@ export class InteractionsDeletor {
where: {
usagerUUID: usager.uuid,
type: In(INTERACTION_OK_LIST),
content: Not(Like("%Courrier remis au mandataire%")),
},
select: {
dateInteraction: true,
Expand Down

0 comments on commit 722a54f

Please sign in to comment.