Skip to content

Commit 17bc940

Browse files
committed
fix: 1337 middleware checkpermission hebergement user (doublon query sql)
1 parent 2e9f87e commit 17bc940

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/backend/src/services/hebergement/Hebergement.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ ${new Array(nbRows)
225225
LEFT JOIN front.personne_morale pmu ON pmu.siren = pmh.siren AND pmu.current = true
226226
LEFT JOIN front.personne_physique pph ON pph.organisme_id = h.organisme_id AND pph.current = TRUE
227227
LEFT JOIN front.user_organisme uo ON (uo.org_id = pmu.organisme_id OR uo.org_id = pph.organisme_id)
228-
LEFT JOIN front.personne_physique pp ON pp.organisme_id = uo.org_id AND pp.organisme_id = h.organisme_id AND pp.current = TRUE
229228
WHERE h.CURRENT IS TRUE AND (pmh.siren = pmu.siren OR o.type_organisme = 'personne_physique') `,
230229
getPreviousValueForHistory: `
231230
SELECT

0 commit comments

Comments
 (0)