Refactor: enhance HTTP request handling, update slot management logic, and improve DI consistency
- Updated `HttpRequestUtil`: Added fallback for empty response bodies and support for `SuccessResponse` in HTTP status codes `201` and `204`. - Improved `SlotComponent`: Refactored slot update logic into a reusable `updateSlots` function. - Modified DI setup: Changed `Collector` to `single` scope and passed it to API implementations (`BookingApiImpl`, `UserApiImpl`, `WorkspaceApiImpl`). - Cleaned up redundant initialization in `MainComponent` and `UpdateEventComponent` with improved coroutine scope usage and updated state handling.
Пожалуйста, зарегистрируйтесь или войдите чтобы прокомментировать