Skip to content

Commit

Permalink
Introduce forgotten resign parameter...
Browse files Browse the repository at this point in the history
... for the POST /source/{project_name}?cmd=copy API endpoint

This parameter should have been included in this commit:
a19f13e
  • Loading branch information
eduardoj committed Oct 31, 2022
1 parent 6c568ce commit 4d125d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/controllers/source_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ def project_command_copy
end

job_params = params.slice(
:cmd, :user, :comment, :oproject, :withbinaries, :withhistory, :makeolder, :makeoriginolder, :noservice
:cmd, :user, :comment, :oproject, :withbinaries, :withhistory, :makeolder, :makeoriginolder, :noservice, :resign
).permit!.to_h
job_params[:user] = User.session!.login

Expand Down

0 comments on commit 4d125d1

Please sign in to comment.