Skip to content
Snippets Groups Projects
Commit 26116209 authored by Timothé Bailly-Barthez's avatar Timothé Bailly-Barthez
Browse files

removed mention of accepted type

parent 0ad02275
No related branches found
No related tags found
No related merge requests found
......@@ -185,10 +185,7 @@ router.post('/', function(req, res, next) {
const promotion_max = req.body.promotion_max || 2021;
fetch_data(req.session.access_token, promotion_min, promotion_max)
.then(result => {
let key = "__express__graph_" + promotion_min + "_" + promotion_max
+ (accepted_types.ASSOCIATION ? "_1" : "_0")
+ (accepted_types.CLUB ? "_1" : "_0")
+ (accepted_types.GROUPE ? "_1" : "_0");
let key = "__express__graph_" + promotion_min + "_" + promotion_max;
let cached_graph = myCache.get(key);
let all_edges;
let all_nodes;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment