Skip to content

Commit

Permalink
Change name
Browse files Browse the repository at this point in the history
  • Loading branch information
annndruha authored Jan 21, 2023
1 parent 94a9ff6 commit 662d154
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/marketing.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def register(**user_info):
urljoin(settings.MARKETING_URL, "v1/action"),
json={
'user_id': -2,
'action': 'print bot register',
'action': 'print tgbot register',
'additional_data': json.dumps(user_info),
'path_from': 'https://t.me/',
}
Expand All @@ -40,7 +40,7 @@ def re_register(**user_info):
urljoin(settings.MARKETING_URL, "v1/action"),
json={
'user_id': -2,
'action': 'print bot repeat register',
'action': 'print tgbot repeat register',
'additional_data': json.dumps(user_info),
'path_from': 'https://t.me/',
}
Expand All @@ -53,7 +53,7 @@ def register_exc_wrong(**user_info):
urljoin(settings.MARKETING_URL, "v1/action"),
json={
'user_id': -2,
'action': 'print bot register exc wrong creds',
'action': 'print tgbot register exc wrong creds',
'additional_data': json.dumps(user_info),
'path_from': 'https://t.me/',
}
Expand All @@ -66,7 +66,7 @@ def print_success(**print_info):
urljoin(settings.MARKETING_URL, "v1/action"),
json={
'user_id': -2,
'action': 'print bot sent',
'action': 'print tgbot sent',
'additional_data': json.dumps(print_info),
'path_from': 'https://t.me/',
'path_to': urljoin(settings.PRINT_URL, f'/file/{print_info.get("pin")}'),
Expand All @@ -80,7 +80,7 @@ def print_exc_format(**print_info):
urljoin(settings.MARKETING_URL, "v1/action"),
json={
'user_id': -2,
'action': 'print bot sent exc format',
'action': 'print tgbot sent exc format',
'additional_data': json.dumps(print_info),
'path_from': 'https://t.me/',
}
Expand Down

0 comments on commit 662d154

Please sign in to comment.