Skip to content

Commit

Permalink
Always pass to backend
Browse files Browse the repository at this point in the history
  • Loading branch information
danidoni committed Oct 9, 2024
1 parent f83c258 commit b1bb5f2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/api/app/controllers/source_project_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ def show
@project = Project.find_by_name(project_name)
raise Project::UnknownObjectError, "Project not found: #{project_name}" unless @project

if @project.scmsync.present?
pass_to_backend
return
end
pass_to_backend

return if @project.scmsync.present?

# we let the backend list the packages after we verified the project is visible
if params.key?(:view)
Expand Down

0 comments on commit b1bb5f2

Please sign in to comment.