Merge pull request #9287 from colinux/api-entreprise-dynamic-context

Fix API entreprise: contexte dépendant de l'instance
This commit is contained in:
Colin Darie 2023-07-10 07:03:06 +00:00 committed by GitHub
commit 478a4d55a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -155,13 +155,11 @@ class APIEntreprise::API
end
def base_params
# rubocop:disable DS/ApplicationName
{
context: "demarches-simplifiees.fr",
context: APPLICATION_NAME,
recipient: ENV.fetch('API_ENTREPRISE_DEFAULT_SIRET'),
non_diffusables: true
}
# rubocop:enable DS/ApplicationName
end
def api_entreprise_delay