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