MatteoScript commited on
Commit
48829ca
·
verified ·
1 Parent(s): 553fc8b

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -119,7 +119,7 @@ async def call_telegram_api(input_data, text):
119
  "telegramUrl": input_data.telegramUrlBot
120
  }
121
  async with aiohttp.ClientSession() as session:
122
- async with session.post(input_data.telegramUrlPost, json=payload)
123
 
124
  def generate_input_text(input_data):
125
  if input_data.instruction.startswith("http"):
 
119
  "telegramUrl": input_data.telegramUrlBot
120
  }
121
  async with aiohttp.ClientSession() as session:
122
+ async with session.post(input_data.telegramUrlPost, json=payload) as response
123
 
124
  def generate_input_text(input_data):
125
  if input_data.instruction.startswith("http"):