Skip to content

Commit

Permalink
Update handlers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
annndruha committed Jul 27, 2023
1 parent 06472e3 commit 175fdab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ async def handler_print(update: Update, context: ContextTypes.DEFAULT_TYPE):

r = requests.post(
settings.PRINT_URL + "/file",
json={"surname": requisites[1], "number": requisites[2], "filename": filename},
json={"surname": requisites[1], "number": requisites[2], "filename": filename, "source": "tgbot"},
)
if r.status_code == 200:
pin = r.json()["pin"]
Expand Down

0 comments on commit 175fdab

Please sign in to comment.