Commit graph

8 commits

Author SHA1 Message Date
1c348566f0 feat: Add conditional data fetching logic for fiat and crypto currencies
- Introduced flags to prevent duplicate data fetching for fiat and crypto currencies.
- Added service status check to skip fetching data if it's already collected for the respective currency type.
- Implemented logging for successful and skipped data fetching for both fiat and crypto services.
- Reset flags before each scheduled task to allow fetching fresh data on every run.
- Enhanced error handling and logging for each service's data fetching attempt.
2025-04-21 23:14:56 +03:00
16994607bb fix: Fixed service name retrieval 2025-04-12 14:40:12 +03:00
1a63649bef chore: Added logging of what data was received, whether it passed validation or not 2025-04-12 12:55:48 +03:00
f6b21ed84d chore: Services loading has been redone, now in config file you can write which services will be loaded. You can also customize API token and base url 2025-04-12 12:50:10 +03:00
f2618a1f3a fix: Fixed a bug where only the last array response was added by the return function 2025-04-11 23:53:37 +03:00
cef3258fa7 chore: I have moved the config retrieval to a separate file 2025-04-11 17:40:36 +03:00
c0701775c7 chore: Wrote an automatic database creation if not created. Data validation and writing currency rate to the database 2025-04-11 11:48:47 +03:00
2bf01946e2 chore: Written automatic download of services from folder and cron task scheduler 2025-04-10 03:04:26 +03:00