diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-10-05 13:12:00 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-10-05 13:12:00 +0200 |
commit | d2d2df0738f3cd8311963c34d90ebc8ce4081aa6 (patch) | |
tree | d3f342088131b73b62eb0e5cf494693fd80e5557 /lib | |
parent | 361dc3641dd28c4ecefbda94f7a8dad299c349aa (diff) | |
download | gitlab-ce-d2d2df0738f3cd8311963c34d90ebc8ce4081aa6.tar.gz |
Fix next round of tests
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ci/api/commits.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ci/api/commits.rb b/lib/ci/api/commits.rb index 6a5b52b17de..a60769d8305 100644 --- a/lib/ci/api/commits.rb +++ b/lib/ci/api/commits.rb @@ -51,7 +51,7 @@ module Ci required_attributes! [:project_id, :data, :project_token] project = Ci::Project.find(params[:project_id]) authenticate_project_token!(project) - commit = Ci::CreateCommitService.new.execute(project, params[:data], current_user) + commit = Ci::CreateCommitService.new.execute(project, current_user, params[:data]) if commit.persisted? present commit, with: Entities::CommitWithBuilds |