Skip to content

Commit

Permalink
fix: replace SyncSmartAppEventResponsePayload to BotAPISyncSmartAppEv…
Browse files Browse the repository at this point in the history
…entResponse for sync smartapp handler
  • Loading branch information
Alexander Maximenyuk committed Jun 24, 2024
1 parent cb6b605 commit cbec4f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backend/app/bot/commands/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
IncomingMessage,
SmartAppEvent,
StatusRecipient,
SyncSmartAppEventResponsePayload,
BotAPISyncSmartAppEventResponse,
)

from app.bot.smartapp import smartapp
Expand Down Expand Up @@ -54,7 +54,7 @@ async def help_handler(message: IncomingMessage, bot: Bot) -> None:
@collector.sync_smartapp_event
async def handle_sync_smartapp_event(
event: SmartAppEvent, bot: Bot
) -> SyncSmartAppEventResponsePayload:
) -> BotAPISyncSmartAppEventResponse:
return await smartapp.handle_sync_smartapp_event(event, bot)


Expand Down
2 changes: 1 addition & 1 deletion backend/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
next-feature-smartapp:
build: .
container_name: next-feature-smartapp
env_file: ".env"
env_file: "../.env"
ports:
- "8000:8000"
restart: always
Expand Down

0 comments on commit cbec4f3

Please sign in to comment.