From 1422363efbcd385b0fb35ec79cdc81f47fe2180d Mon Sep 17 00:00:00 2001 From: Joabesv Date: Thu, 15 Aug 2024 23:58:48 -0300 Subject: [PATCH 1/2] fix: compare strings --- .../src/modules/NextUser/history/handlers/createHistory.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { From a2fa7ac558bee6ce7a03ea86949263813820496b Mon Sep 17 00:00:00 2001 From: Joabesv Date: Fri, 16 Aug 2024 00:05:17 -0300 Subject: [PATCH 2/2] chore: update .env --- .env.prod.secret | Bin 1586 -> 1610 bytes .gitsecret/paths/mapping.cfg | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.prod.secret b/.env.prod.secret index 8044127525df68bd14b55e3c5d88973a26532c0f..2485e85cd90ce97428c40cb941a6968ef090e450 100644 GIT binary patch literal 1610 zcmV-Q2DSNx0gMCV9#k`DvlJ@<3;>PS=Y>i|A{Dnz&=0oTs%}h1UWMjdWG^R@N)$xk z1jXKnZUkuQ)sfZWo#OiK83`x7Bj#1k5xpaX%)!dAYb5$l*vY+2WGc{^>4$11^y~-yN<0G*r z0QeHaBx0;oD^0gEHa9H9S01}Ebd-{ZW6;PV7hj^Y6?Y2RFVgEEf~7<(VqqS!B4yL@ zl7&fcU9RvoV6QXBJ!@5<)P*RXvxQsa1s4#mo8j7FHV~68g#h5@l@Tj!iE#zuTKCJtIihDeFw&AUS-Dj98Q}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%J2Li4=K~kb-fhU-Z`X@OT>JWI+Nt>(>C}wM_nNz-RoABsirtHpzkWMSv3E7^$tg zu9~H<`dq8#$h=Lz@bBM*JF5I~Qr&w<(SD-`<}>p;xU0aTMHBh+LC9;)ozu6S0v6|! zxa$03CbBP3pxZsbwmnbghlrNcYm+IQ)g>|kO+7}k@U|^P1N%j!k+E10G z?TqwT)pfESZjVr;OyjVlGuoWMPcB?-}JsjN94R=sD9?i6HC(MIusCy^IxMbd7nbyM5WAr~!Cc7VgA zj;Y;+>3sIjqICc^@I#g}J>QDfUxGTiGXB?{PgS5J{b|^mzb9IU8;epa2)Bpeg 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