Commit Graph

13 Commits

Author SHA1 Message Date
e49ff366d5 feat: Implement wallet notification system and refactor related services
- Added new notification handling in the wallet service to notify admins when wallet balances are low or insufficient.
- Created a new file for wallet notifications and moved relevant functions from the wallet service to this new file.
- Updated the wallet service to publish wallet events including wallet type.
- Refactored the client code to improve readability and maintainability.
- Enhanced the bet handler to support pagination and status filtering for bets.
- Updated routes and handlers for user search functionality to improve clarity and organization.
- Modified cron job scheduling to comment out unused jobs for clarity.
- Updated the WebSocket broadcast to include wallet type in notifications.
- Adjusted the makefile to include Kafka in the docker-compose setup for local development.
2025-09-25 21:26:24 +03:00
6b09c3c8d2 fix: resolved issue on event, odds and creating a bet 2025-09-03 03:16:37 +03:00
d43b12c589 integration issues 2025-07-22 17:39:53 +03:00
c83130394b fix: version on route, better logs, error display, cleaning up code 2025-07-13 01:23:08 +03:00
3e4e9eead7 fix: added message to wallet_transfers and gave it a detailed view 2025-06-29 21:51:23 +03:00
c374fd7a96 feat: removing odds when event is removed 2025-06-12 19:09:19 +03:00
360bdd471f notification+wallet fixes 2025-05-25 14:15:34 +03:00
6a06b399c7 fix: notification integration issues 2025-05-22 00:15:30 +03:00
KidusAlemayehu
4a2ae14a64 add notification retrieval endpoint; refactor middleware for company role validation 2025-05-13 22:43:51 +03:00
KidusAlemayehu
6177b8cf92 refactor notification service to use Gorilla WebSocket; implement WebSocket authentication middleware and notification hub 2025-05-13 16:44:31 +03:00
dawitel
6b52d139d4 feat: admin side ntification creation handler added 2025-04-03 23:00:54 +03:00
dawitel
b690a1c933 fix: refactored the hadler for notification and added mark as read 2025-04-02 21:50:52 +03:00
dawitel
5cc125d450 fix: separation of handler for notification 2025-04-02 12:04:39 +03:00