Skip to content

Commit

Permalink
Fixed: create project deploy key
Browse files Browse the repository at this point in the history
  • Loading branch information
Semenyuk Dmitriy committed Apr 25, 2014
1 parent af49245 commit 7f91a9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gitlab/client/projects.rb
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def deploy_key(project, id)
# @param [String] key The content of a deploy key.
# @return [Gitlab::ObjectifiedHash] Information about created deploy key.
def create_deploy_key(project, title, key)
post("/projects/#{project}/keys", title: title, key: key)
post("/projects/#{project}/keys", body: {title: title, key: key})
end

# Deletes a deploy key from project.
Expand Down

0 comments on commit 7f91a9a

Please sign in to comment.