Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Graphe des assos
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timothé Bailly-Barthez
Graphe des assos
Commits
029d37eb
Commit
029d37eb
authored
5 years ago
by
Timothé Bailly-Barthez
Browse files
Options
Downloads
Patches
Plain Diff
Changed request
parent
26116209
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
routes/index.js
+1
-1
1 addition, 1 deletion
routes/index.js
with
1 addition
and
1 deletion
routes/index.js
+
1
−
1
View file @
029d37eb
...
...
@@ -63,7 +63,7 @@ async function request_promotion(access_token, promotion, offset) {
}
else
{
const
url
=
"
https://gateway.linkcs.fr/v1/graphql
"
const
headers
=
{
Authorization
:
"
Bearer
"
+
access_token
}
const
query
=
'
{getPromotion(promotion:
'
+
promotion
+
'
, limit: 60, offset:
'
+
offset
+
'
) {
login, memberships
{association {id, name, type}}}}
'
;
const
query
=
'
{getPromotion(promotion:
'
+
promotion
+
'
, limit: 60, offset:
'
+
offset
+
'
) {
role {sector {composition
{association {id, name, type}}}}
}}
'
;
const
request
=
await
axios
({
url
:
url
+
"
?query=
"
+
query
,
headers
:
headers
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment