mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-22 05:38:46 +00:00
do not run cron when getting a group
This commit is contained in:
parent
e07ade5a4a
commit
d7cd2ce329
1 changed files with 1 additions and 0 deletions
|
|
@ -117,6 +117,7 @@ api.getGroups = {
|
|||
api.getGroup = {
|
||||
method: 'GET',
|
||||
url: '/groups/:groupId',
|
||||
runCron: false, // Do not run cron to avoid double cronning because it's called in parallel to GET /user when the site loads
|
||||
middlewares: [authWithHeaders()],
|
||||
async handler (req, res) {
|
||||
let user = res.locals.user;
|
||||
|
|
|
|||
Loading…
Reference in a new issue