Closed joliejuke-orga closed 5 years ago
Here is my code:
var Gitlab = require('gitlab'); function __auth() { return Gitlab({ url: 'https://gitlab.com', token: '123mytoken' }); } function getUser() { var gitlab = __auth(); gitlab.users.current(function(doc) { console.log(doc) ---> null }); }
I don't understand what is missing. Do you have a full documentation ressource of the module? Promises are supported?
I'm waiting like 5s before to get the response, maybe the URL is not the good one to request from gitlab provider.
Best.
Here is my code:
I don't understand what is missing. Do you have a full documentation ressource of the module? Promises are supported?
I'm waiting like 5s before to get the response, maybe the URL is not the good one to request from gitlab provider.
Best.