Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show functions (in Users, Projects and Commits) not support the options #101

Closed
giuseppeangri opened this issue Jun 5, 2018 · 0 comments

Comments

@giuseppeangri
Copy link
Contributor

giuseppeangri commented Jun 5, 2018

Hi,
in my project I'm using the show functions (in Users, Projects and Commits).
When I show a single project, I need the options object to attach the attribute "statistics".
As you can see from GitLab Documentation this attribute is false as default, so I need to pass it with true value.

I see from the code, that in the show function the option object is absent, and there is only "projectId" parameter:

function show(projectId) {
      var pId = encodeURIComponent(projectId);
      return _infrastructure.RequestHelper.get(this, "projects/".concat(pId));
}

Thanks,
Greetings

@giuseppeangri giuseppeangri changed the title Show functions not support the options Show functions (in Users, Projects and Commits) not support the options Jun 5, 2018
giuseppeangri added a commit to giuseppeangri/node-gitlab that referenced this issue Jun 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants