Skip to content

Commit

Permalink
disabled demo
Browse files Browse the repository at this point in the history
  • Loading branch information
mrandal committed Mar 2, 2023
1 parent e5b890c commit 8c40587
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/admin/routes/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ let router = Router();
const config = require("../../../config/config.json");
const { TeamMatchPerformance } = require("../../lib/db");

const DEMO = true;
const DEMO = false;

router.use((req,res,next) => {
if (!ScoutingSync.initialized) {
Expand Down
2 changes: 1 addition & 1 deletion src/scouting/scouting-sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const {TeamMatchPerformance} = require("../lib/db.js");
const axios = require("axios");
const config = require("../../config/config.json");
const chalk = require("chalk");
const DEMO = true;
const DEMO = false;
module.exports = (server) => {
if (!ScoutingSync.initialized) {
if (!server) {
Expand Down

0 comments on commit 8c40587

Please sign in to comment.