Merge pull request #9287 from colinux/api-entreprise-dynamic-context
Fix API entreprise: contexte dépendant de l'instance
This commit is contained in:
commit
478a4d55a3
1 changed files with 1 additions and 3 deletions
|
@ -155,13 +155,11 @@ class APIEntreprise::API
|
||||||
end
|
end
|
||||||
|
|
||||||
def base_params
|
def base_params
|
||||||
# rubocop:disable DS/ApplicationName
|
|
||||||
{
|
{
|
||||||
context: "demarches-simplifiees.fr",
|
context: APPLICATION_NAME,
|
||||||
recipient: ENV.fetch('API_ENTREPRISE_DEFAULT_SIRET'),
|
recipient: ENV.fetch('API_ENTREPRISE_DEFAULT_SIRET'),
|
||||||
non_diffusables: true
|
non_diffusables: true
|
||||||
}
|
}
|
||||||
# rubocop:enable DS/ApplicationName
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def api_entreprise_delay
|
def api_entreprise_delay
|
||||||
|
|
Loading…
Reference in a new issue