Skip to content

Commit

Permalink
Add source
Browse files Browse the repository at this point in the history
  • Loading branch information
annndruha committed Jul 27, 2023
1 parent 8fbde93 commit 9eb4c86
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,10 @@ def order_print(user: vk.EventUser, db_requisites):
# Get pin
content, title = file_content_title
vk_id, surname, number = db_requisites
r = requests.post(settings.PRINT_URL + '/file', json={'surname': surname, 'number': number, 'filename': title})
r = requests.post(settings.PRINT_URL + '/file', json={'surname': surname,
'number': number,
'filename': title,
'source': 'vkbot'})

# If get pin error
if r.status_code != 200:
Expand Down

0 comments on commit 9eb4c86

Please sign in to comment.