BO 1.36 mautic to workouttest.org

This commit is contained in:
Tibor Bossanyi (Freelancer) 2022-02-16 00:18:36 +01:00
parent e696221a5b
commit 81e77e22c2
4 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
import os import os
from firebase_admin import initialize_app from firebase_admin import initialize_app
BACKOFFICE_VERSION = "1.35" BACKOFFICE_VERSION = "1.36"
# Build paths inside the project like this: os.path.join(BASE_DIR, ...) # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

View File

@ -1,7 +1,7 @@
import os import os
from firebase_admin import initialize_app from firebase_admin import initialize_app
BACKOFFICE_VERSION = "1.35" BACKOFFICE_VERSION = "1.36"
# Build paths inside the project like this: os.path.join(BASE_DIR, ...) # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

View File

@ -1,7 +1,7 @@
import os import os
from firebase_admin import initialize_app from firebase_admin import initialize_app
BACKOFFICE_VERSION = "1.35" BACKOFFICE_VERSION = "1.36"
# Build paths inside the project like this: os.path.join(BASE_DIR, ...) # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

View File

@ -33,7 +33,7 @@ class Mautic:
print(data) print(data)
form_url = 'https://mautic.aitrainer.app/form/submit?formId=7' form_url = 'https://mautic.workouttest.org/form/submit?formId=7'
response = requests.post(form_url, data=data.encode('utf-8'), headers=headers) response = requests.post(form_url, data=data.encode('utf-8'), headers=headers)
print(customer.email + " " +str(response.status_code)) print(customer.email + " " +str(response.status_code))
@ -68,7 +68,7 @@ class Mautic:
print(data) print(data)
form_url = 'https://mautic.aitrainer.app/form/submit?formId=7' form_url = 'https://mautic.workouttest.org/form/submit?formId=7'
response = requests.post(form_url, data=data.encode('utf-8'), headers=headers) response = requests.post(form_url, data=data.encode('utf-8'), headers=headers)
print(customer.email + " " +str(response.status_code)) print(customer.email + " " +str(response.status_code))
@ -102,7 +102,7 @@ class Mautic:
print(data) print(data)
form_url = 'https://mautic.aitrainer.app/form/submit?formId=7' form_url = 'https://mautic.workouttest.org/form/submit?formId=7'
response = requests.post(form_url, data=data.encode('utf-8'), headers=headers) response = requests.post(form_url, data=data.encode('utf-8'), headers=headers)
print(customer.email + " " +str(response.status_code)) print(customer.email + " " +str(response.status_code))
@ -136,7 +136,7 @@ class Mautic:
print(data) print(data)
form_url = 'https://mautic.aitrainer.app/form/submit?formId=7' form_url = 'https://mautic.workouttest.org/form/submit?formId=7'
response = requests.post(form_url, data=data.encode('utf-8'), headers=headers) response = requests.post(form_url, data=data.encode('utf-8'), headers=headers)
print(customer.email + " " +str(response.status_code)) print(customer.email + " " +str(response.status_code))
@ -185,7 +185,7 @@ class Mautic:
print(data) print(data)
form_url = 'https://mautic.aitrainer.app/form/submit?formId=1' form_url = 'https://mautic.workouttest.org/form/submit?formId=1'
response = requests.post(form_url, data=data.encode('utf-8'), headers=headers) response = requests.post(form_url, data=data.encode('utf-8'), headers=headers)
print(str(response.status_code)) print(str(response.status_code))