This commit is contained in:
justuser 2024-12-04 21:11:50 +03:00
parent 446c882233
commit c9355eb603

View File

@ -4,7 +4,6 @@ from json import dumps, loads
global url_pre global url_pre
url_pre = 'https://cdm-api.del.pw/' url_pre = 'https://cdm-api.del.pw/'
def call(api_url, data, pre=True, fix=True): def call(api_url, data, pre=True, fix=True):
if pre: if pre:
response = post(url_pre + api_url, data=dumps(data)) response = post(url_pre + api_url, data=dumps(data))