CMU-313 / nodebb-f24-boba

cmu-313-f24-nodebb-f24-NodeBB created by GitHub Classroom
GNU General Public License v3.0
0 stars 0 forks source link

Modify notification.js to reduce code complexity from 16 to 15 #17

Closed AliceeLe closed 2 days ago

AliceeLe commented 2 days ago

I merged my change from Project 1 here, where I basically refactored the function Notifications.getMultiple to reduce code complexity. I took out a part of the code, then refactor it as a function called function cleanPath(notification).