Modified the create webhook scripts to create them for the live server at webhook.naroomaplumbing.au
This commit is contained in:
@@ -7,8 +7,8 @@ BASE_URL = os.getenv('SERVICEM8_BASE_URL', 'https://api.servicem8.com')
|
||||
ENDPOINT = '/webhook_subscriptions/event'
|
||||
ACCESS_TOKEN = os.getenv('SERVICEM8_ACCESS_TOKEN', 'smk-ac525b-99c4b96305a49c7c-fe4dd3e705b647ea')
|
||||
EVENT_NAME = os.getenv('SERVICEM8_EVENT', 'form.response_created')
|
||||
CALLBACK_URL = os.getenv('SERVICEM8_CALLBACK_URL', 'https://nps-dev.coast2cloud.net/webhooks/servicem8/form-response')
|
||||
UNIQUE_ID = os.getenv('SERVICEM8_UNIQUE_ID', 'dev-form-response')
|
||||
CALLBACK_URL = os.getenv('SERVICEM8_CALLBACK_URL', 'https://webhook.naroomaplumbing.au/webhooks/servicem8/form-response')
|
||||
UNIQUE_ID = os.getenv('SERVICEM8_UNIQUE_ID', 'au-dev-form-response')
|
||||
|
||||
|
||||
def pretty_print_json(data):
|
||||
|
||||
Reference in New Issue
Block a user