From 53ceea74f14d0767d521cd6faa7cb96ed8d0be89 Mon Sep 17 00:00:00 2001 From: NGPixel Date: Fri, 17 Apr 2020 17:14:02 -0400 Subject: [PATCH] fix: skip telemetry if devmode --- server/core/telemetry.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/core/telemetry.js b/server/core/telemetry.js index a43035cc..2e70d7e3 100644 --- a/server/core/telemetry.js +++ b/server/core/telemetry.js @@ -40,6 +40,8 @@ module.exports = { // TODO }, async sendInstanceEvent(eventType) { + if (WIKI.devMode) { return } + try { const apollo = createApolloFetch({ uri: WIKI.config.graphEndpoint