Skip to content

Commit

Permalink
Update HubEEAPIClient with latest specs
Browse files Browse the repository at this point in the history
  • Loading branch information
skelz0r committed Jul 2, 2024
1 parent a585178 commit ec4f1b4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/clients/hubee_api_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@ def create_subscription(authorization_request, organization_payload, process_cod
status: 'Actif',
localAdministrator: {
email: authorization_request.demandeur.email
}
},
delegationActor: {
branchCode: organization_payload['branchCode'],
companyRegister: organization_payload['companyRegister'],
type: 'EDT'
},
}.to_json,
'Content-Type' => 'application/json'
)
Expand Down

0 comments on commit ec4f1b4

Please sign in to comment.