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
},
async sendInstanceEvent(eventType) {
if (WIKI.devMode) { return }
try {
const apollo = createApolloFetch({
uri: WIKI.config.graphEndpoint