You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 24, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 24, 2019. It is now read-only.
Code does create a new project but for different user not the one specified in option(i.e 22).
It always choose user_id of admin user (whose token is used to make request). :(
Activity
moul commentedon Feb 26, 2015
https://github.com/gitlabhq/gitlabhq/blob/master/doc/api/projects.md#create-project-for-user
The gitlab api uses a different route when creating a project for another user and we only implemented the one for current user:
https://github.com/node-gitlab/node-gitlab/blob/develop/src/Models/Projects.coffee#L43-L45
We need to add a new
create_for_usernew method or check the presence ofuser_idin the parameter and switch from one route to anothersahilsk commentedon Feb 26, 2015
ohk...thanks for prompt response. :)
add projects.create_for_user; admin function to create new project on…