diff --git a/config/routes/api_entreprise.rb b/config/routes/api_entreprise.rb index b7f3205c7..981fb90ab 100644 --- a/config/routes/api_entreprise.rb +++ b/config/routes/api_entreprise.rb @@ -4,7 +4,7 @@ post '/datapass/api_particulier/webhook' => 'datapass_webhooks#api_particulier' post '/datapass/v2/api_entreprise/webhook' => 'datapass_webhooks_v2#api_entreprise' - post '/datapass/v2/api_particulier/webhook' => 'datapass_webhooks_v2#api_entreprise' + post '/datapass/v2/api_particulier/webhook' => 'datapass_webhooks_v2#api_particulier' end post '/auth/api_gouv_entreprise', as: :login_api_gouv_entreprise