The scheduled sync was using AUTOTASK_INTEGRATION_CODE but the actual environment variable is AUTOTASK_API_INTEGRATION_CODE. This caused scheduled syncs to fail with 'IntegrationCode is invalid' while manual syncs worked fine. Changed: - AUTOTASK_INTEGRATION_CODE -> AUTOTASK_API_INTEGRATION_CODE This aligns the scheduler with autotask-factory.ts which was already using the correct variable name. |
||
|---|---|---|
| .. | ||
| hooks | ||
| services | ||
| types | ||
| utils | ||
| auth-client.ts | ||
| auth-utils.ts | ||
| auth.ts | ||
| bootstrap.ts | ||
| permissions.ts | ||
| utils.ts | ||