Closed marclupanc closed 4 months ago
Fixed the issue with fetching prompt by year. Used DRY principle in prompts.js by creating a new function getPrompts and using it in both fetchPrompts and fetchPromptsByYear.
https://drive.google.com/file/d/1gzzV-_vGcEt_Bd6C6XslVKzEgFzBkQJm/view?usp=sharing
Fixed the issue with fetching prompt by year. Used DRY principle in prompts.js by creating a new function getPrompts and using it in both fetchPrompts and fetchPromptsByYear.
https://drive.google.com/file/d/1gzzV-_vGcEt_Bd6C6XslVKzEgFzBkQJm/view?usp=sharing