Skip to content

Commit 4cf3d30

Browse files
committed
Fixed the mystery of the throttled table
1 parent 1850d4d commit 4cf3d30

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/controllers/pages/invite/inviteController.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ export async function getFutureTourns(req,res){
269269
SELECT
270270
CONCAT(tourn.id, '-', '0') as id,
271271
tourn.id tournId, tourn.webname, tourn.name, tourn.tz,
272-
'false' as district,
272+
'No' as districts,
273273
tourn.city as location, tourn.state, tourn.country,
274274
tourn.start start,
275275
tourn.end end,
@@ -411,9 +411,9 @@ export async function getFutureTourns(req,res){
411411

412412
const futureDistricts = await db.sequelize.query(`
413413
SELECT
414-
CONCAT(tourn.id, '-', '0') as id,
414+
CONCAT(tourn.id, '-', weekend.id) as id,
415415
tourn.id tournId, tourn.webname, tourn.name, tourn.tz,
416-
'true' as districts,
416+
'Yes' as districts,
417417
weekend.id weekendId, weekend.name weekendName,
418418
weekend.city as location, weekend.state, tourn.country,
419419
site.name site,

0 commit comments

Comments
 (0)