Skip to content

Commit 91ce76d

Browse files
use this.telemetry.isTelemetryEnabled() instead of this.config.telemetry === 'disabled'
1 parent 61ae9cf commit 91ce76d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/atlasLocal/atlasLocalTool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ please log a ticket here: https://github.com/mongodb-js/mongodb-mcp-server/issue
4141

4242
protected async lookupDeploymentIdAndAddToTelemetryMetadata(client: Client, containerId: string): Promise<void> {
4343
// Don't run if telemetry is disabled
44-
if (this.config.telemetry === "disabled") {
44+
if (this.telemetry.isTelemetryEnabled()) {
4545
return;
4646
}
4747

0 commit comments

Comments
 (0)