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

rollback

parent 029d37eb
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,7 @@ async function request_promotion(access_token, promotion, offset) { ...@@ -63,7 +63,7 @@ async function request_promotion(access_token, promotion, offset) {
} else { } else {
const url = "https://gateway.linkcs.fr/v1/graphql" const url = "https://gateway.linkcs.fr/v1/graphql"
const headers = {Authorization: "Bearer " + access_token} const headers = {Authorization: "Bearer " + access_token}
const query = '{getPromotion(promotion: ' + promotion + ', limit: 60, offset: ' + offset + ') {role {sector {composition {association {id, name, type}}}}}}'; const query = '{getPromotion(promotion: ' + promotion + ', limit: 60, offset: ' + offset + ') {login, memberships {association {id, name, type}}}}';
const request = await axios({ const request = await axios({
url: url + "?query=" + query, url: url + "?query=" + query,
headers: headers headers: headers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment