Skip to content

Commit

Permalink
Merge branch 'develop' into sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinebigard committed Nov 2, 2021
2 parents a49c267 + fa8e12d commit 7f87ed4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/src/logic/controllers/conventionController.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,9 @@ class ConventionController {
return {
info: "Ok",
value: infosCodes.infoDATADOCK[result.REFERENCABLE === "OUI" ? "Referencable" : "NotReferencable"],
qualiopi: result.QUALIOPI && `${result.QUALIOPI}`.toUpperCase() === "QUALIOPI",
qualiopi:
result.QUALIOPI &&
(`${result.QUALIOPI}`.toUpperCase() === "QUALIOPI" || `${result.QUALIOPI}`.toUpperCase() === "EDUFORM"),
};
}
return { info: "Erreur: Datadock Non trouvé", value: infosCodes.infoDATADOCK.NotFound, qualiopi: false };
Expand Down

0 comments on commit 7f87ed4

Please sign in to comment.