fix: skip telemetry if devmode

This commit is contained in:
NGPixel 2020-04-17 17:14:02 -04:00
parent 17f833509f
commit 53ceea74f1

View File

@ -40,6 +40,8 @@ module.exports = {
// TODO // TODO
}, },
async sendInstanceEvent(eventType) { async sendInstanceEvent(eventType) {
if (WIKI.devMode) { return }
try { try {
const apollo = createApolloFetch({ const apollo = createApolloFetch({
uri: WIKI.config.graphEndpoint uri: WIKI.config.graphEndpoint