Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 152 #388

Closed
wants to merge 4 commits into from
Closed

Fix 152 #388

wants to merge 4 commits into from

Conversation

evg1995gon
Copy link
Contributor

No description provided.

@evg1995gon evg1995gon temporarily deployed to healthcheck September 5, 2023 22:21 — with GitHub Actions Inactive
@@ -247,16 +250,35 @@ async def get_open_for_registration_shift_id(self) -> UUID:

async def finish_shift_automatically(self, bot: Application) -> None:
shift = await self.__shift_repository.get_active_or_complete_shift()
preparing_shift = await self.__shift_repository.get_preparing_shift()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не пойму, зачем используется следующая "подготовленная" смена? В логике окончания смены она нигде не участвует. Я высылал ссылку на задачу, там достаточно подробный пример.

@evg1995gon evg1995gon closed this Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants