Just give regular 404, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5094#note_12984211
This commit is contained in:
parent
4b9f76cede
commit
2b728ed3da
|
@ -25,7 +25,7 @@ class Projects::ArtifactsController < Projects::ApplicationController
|
|||
if entry.exists?
|
||||
send_artifacts_entry(build, entry)
|
||||
else
|
||||
render json: {}, status: 404
|
||||
render_404
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue