cs481-ekh / s24-gone-phishin

https://cs481-ekh.github.io/s24-gone-phishin/
MIT License
1 stars 0 forks source link

Fix scanner's inability to match keywords #143

Closed Subpoened-peon closed 3 months ago

Subpoened-peon commented 3 months ago

Definition of Done

Allow for scanner to match keywords from the keywords array from the database, allowing them to be used for the algorithm and display purposes.

Subpoened-peon commented 3 months ago

[t:45] Messed around with school email and team gmail account to find out why the keywords are not matching. Learned that tokenizEmailContents and the matching does occur, but for what ever reason the keywords do not match.

Subpoened-peon commented 3 months ago

Messed around more and found out that the array that was being opened in the other emails was empty. For some reason I had assigned the message to the array we wanted to use for holding the keywords, and it worked on my email. Easy fix once I figured out what was wrong. [t:45]