store attestation sociale and display
This commit is contained in:
parent
d74b14c205
commit
158b4802ab
9 changed files with 44 additions and 4 deletions
|
@ -86,6 +86,6 @@ class ApiEntreprise::API
|
|||
|
||||
def self.token_for_procedure(procedure_id)
|
||||
procedure = Procedure.find(procedure_id)
|
||||
procedure.api_entreprise_token.presence || Rails.application.secrets.api_entreprise[:key]
|
||||
procedure.api_entreprise_token
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue