diff --git a/app/controllers/api/v2/insights_advisor/insights_advisor_controller.rb b/app/controllers/api/v2/insights_advisor/insights_advisor_controller.rb index f0ce45bf..0beb11de 100644 --- a/app/controllers/api/v2/insights_advisor/insights_advisor_controller.rb +++ b/app/controllers/api/v2/insights_advisor/insights_advisor_controller.rb @@ -6,7 +6,7 @@ class InsightsAdvisorController < ::Api::V2::BaseController include Foreman::Controller::SmartProxyAuth add_smart_proxy_filters [:upload_hits] - api :PATCH, "insights_advisor/upload_hits", N_("Upload from insights advisor") + api :PATCH, "/insights_advisor/upload_hits", N_("Upload from insights advisor") param :host_name, String, required: true param :host_uuid, String, required: true