diff --git a/.env.prod.secret b/.env.prod.secret index 80441275..2485e85c 100644 Binary files a/.env.prod.secret and b/.env.prod.secret differ diff --git a/.gitsecret/paths/mapping.cfg b/.gitsecret/paths/mapping.cfg index 3a3cfac7..6445df38 100644 --- a/.gitsecret/paths/mapping.cfg +++ b/.gitsecret/paths/mapping.cfg @@ -1 +1 @@ -.env.prod:d03d1159df62a7ceeb2eefad1f98ab0d59fb705cfa1879ae27b7910c1726c3b0 +.env.prod:85449f0097d01d954140258c2e9a15423d4d335a68f7995b241150ce0bf50f5f diff --git a/apps/core/src/modules/NextUser/history/handlers/createHistory.ts b/apps/core/src/modules/NextUser/history/handlers/createHistory.ts index 13b582cd..d6cc6d70 100644 --- a/apps/core/src/modules/NextUser/history/handlers/createHistory.ts +++ b/apps/core/src/modules/NextUser/history/handlers/createHistory.ts @@ -114,8 +114,8 @@ async function hydrateComponents(component: StudentComponent) { name: subject.name.toLocaleLowerCase(), credits: subject.creditos, })); - const validComponent = normalizedSubjects.find((subject) => - subject.name.includes(component.disciplina), + const validComponent = normalizedSubjects.find( + (subject) => subject.name === component.disciplina, ); if (!validComponent) {