Skip to content

Commit

Permalink
changes done on url schema by adding an http protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
Figeral committed Apr 1, 2024
1 parent 796ebdd commit 3d06a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def send_msg(msg: str):
token = os.environ['GOMU_BOT_TOKEN']
chanel_id = os.environ['GOMU_CHANEL_ID']

baseurl = "api.telegram.org"
baseurl = "https://api.telegram.org"
url = f"{baseurl}/bot{token}/"
payload = dict(chat_id=chanel_id, text=msg)

Expand Down

0 comments on commit 3d06a4a

Please sign in to comment.