删除调用drone创建用户接口

This commit is contained in:
moshenglv 2020-12-24 10:40:42 +08:00
parent 2666a95176
commit b5ab230a5c
1 changed files with 1 additions and 6 deletions

View File

@ -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