1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Fix typo in WebApp() functions

This commit is contained in:
Soham Datta 2022-05-30 17:21:33 +05:30 committed by GitHub
parent 4401780ba9
commit 42ce47914d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -524,7 +524,7 @@ def antiflood(function, *args, **kwargs):
return msg
def parse_webapp_data(token: str, raw_init_data: str):
def parse_web_app_data(token: str, raw_init_data: str):
is_valid = validate_WebApp_data(token, raw_init_data)
if not is_valid:
return False
@ -540,7 +540,7 @@ def parse_webapp_data(token: str, raw_init_data: str):
return result
def validate_webapp_data(token, raw_init_data):
def validate_web_app_data(token, raw_init_data):
try:
parsed_data = dict(parse_qsl(raw_init_data))
except ValueError: