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

parse_web_app_data function fix

This commit is contained in:
Badiboy 2022-07-08 11:15:50 +03:00
parent 78251cdf43
commit a7c420aa14

View File

@ -6,7 +6,6 @@ import threading
import traceback
from typing import Any, Callable, List, Dict, Optional, Union
import hmac
import json
from hashlib import sha256
from urllib.parse import parse_qsl
@ -525,7 +524,7 @@ def antiflood(function, *args, **kwargs):
def parse_web_app_data(token: str, raw_init_data: str):
is_valid = validate_WebApp_data(token, raw_init_data)
is_valid = validate_web_app_data(token, raw_init_data)
if not is_valid:
return False