fix: skip telemetry if devmode
This commit is contained in:
parent
17f833509f
commit
53ceea74f1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user