Forgot one user id in the code

This commit is contained in:
Florian Kellermann 2022-04-19 08:30:25 +02:00
parent 6db3a7ce32
commit 76df6f27be

View File

@ -138,7 +138,7 @@ def update_for_user(p_user_id, p_my_handler):
my_update_message = f'Symbol: {share_symbols[i]}\nCurrent Price per Share: {share_courses[i]}\nAmount owned: {share_amounts[i]}\nTotal Investment: {float(share_courses[i]) * float(share_amounts[i])}' my_update_message = f'Symbol: {share_symbols[i]}\nCurrent Price per Share: {share_courses[i]}\nAmount owned: {share_amounts[i]}\nTotal Investment: {float(share_courses[i]) * float(share_amounts[i])}'
send_to_user(my_update_message, pUser_id=p_user_id) send_to_user(my_update_message, pUser_id=p_user_id)
else: else:
send_to_user("No shares found for your account. Check https://gruppe1.testsites.info/api to change your settings and add shares.") send_to_user("No shares found for your account. Check https://gruppe1.testsites.info/api to change your settings and add shares.", pUser_id=p_user_id)
def send_to_user(pText, pUser_id = 1770205310): def send_to_user(pText, pUser_id = 1770205310):