fix: update Salesforce event configuration to enable Order CDC by default
- Changed the default value of SF_EVENTS_ENABLED from "false" to "true" in the OrderCdcSubscriber class to ensure that Order CDC events are enabled by default upon initialization.
This commit is contained in:
parent
99761b21dd
commit
790e3e65e3
@ -63,7 +63,7 @@ export class OrderCdcSubscriber implements OnModuleInit {
|
||||
) {}
|
||||
|
||||
async onModuleInit(): Promise<void> {
|
||||
const enabled = this.config.get("SF_EVENTS_ENABLED", "false") === "true";
|
||||
const enabled = this.config.get("SF_EVENTS_ENABLED", "true") === "true";
|
||||
if (!enabled) {
|
||||
this.logger.debug("Order CDC disabled (SF_EVENTS_ENABLED=false)");
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user