diff --git a/website/server/controllers/api-v3/groups.js b/website/server/controllers/api-v3/groups.js index 07e9b5be54..7460757a51 100644 --- a/website/server/controllers/api-v3/groups.js +++ b/website/server/controllers/api-v3/groups.js @@ -117,6 +117,9 @@ api.getGroups = { api.getGroup = { method: 'GET', url: '/groups/:groupId', + // Disable cron when getting groups to avoid race conditions when the site is loaded + // and requests for party and user data are concurrent + runCron: false, middlewares: [authWithHeaders()], async handler (req, res) { let user = res.locals.user;