Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Cavanagh committed Mar 15, 2024
1 parent 06f7794 commit 5ba70f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default class RestGlobalVictoryAggregateController extends BaseGlobalAggr
};

const key = `cache:endpoints:victories:W:${world ?? 0}-Z:${zone ?? 0}-B:${bracket ?? 0}-ET:${ps2AlertsEventType ?? 0}-DF:${dateFrom ? dateFrom.toString() : 0}-DT:${dateTo ? dateTo.toString() : 0}`;
const pagination = new Pagination({sortBy: 'date', order: 'desc'});
const pagination = new Pagination({sortBy: 'date', order: 'asc'});

// eslint-disable-next-line @typescript-eslint/no-unsafe-return
return await this.cacheService.get(key) ?? await this.cacheService.set(
Expand Down

0 comments on commit 5ba70f6

Please sign in to comment.