Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #10 from profcomff/hotfix
Browse files Browse the repository at this point in the history
hotfix spam
  • Loading branch information
grigoriev-semyon authored Nov 7, 2022
2 parents 1c6961f + 1b8db0d commit d975ede
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/event_scenarios/spam/event_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def on_mode_change(vk: VkApiMethod, event: Event) -> None:

def on_start_message(vk: VkApiMethod, event: Event, **kwargs) -> None:
requests.post(
f"{settings.BACKEND_URL}/spam",
f"{settings.BACKEND_URL}/spam/",
schemas.SpamPost(social_web_id=event.user_id).json(),
)
utils.send_message(vk, event.user_id, message=reactions.Spam.START_REPLY, **kwargs)

0 comments on commit d975ede

Please sign in to comment.