forked from Gitlink/forgeplus
删除调用drone创建用户接口
This commit is contained in:
parent
2666a95176
commit
b5ab230a5c
|
@ -78,10 +78,5 @@ class Ci::Drone::API < Ci::Drone::Request
|
|||
def sync_repos
|
||||
post(endpoint, "/api/users/repos", drone_token: drone_token)
|
||||
end
|
||||
|
||||
# Creates a user.
|
||||
# POST /api/users
|
||||
def create_user
|
||||
post(endpoint, "/api/users", {login: options[:login], email: "admin@email.com", avatar_url:"",active:true, drone_token: options[:token]})
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue