diff --git a/app/lib/api_entreprise/api.rb b/app/lib/api_entreprise/api.rb index 90f71b14e..ca2d9d7c1 100644 --- a/app/lib/api_entreprise/api.rb +++ b/app/lib/api_entreprise/api.rb @@ -126,7 +126,7 @@ class APIEntreprise::API elsif response.code == 400 raise Error::BadFormatRequest.new(response) elsif response.code == 502 - raise Error::BadGateway.new(response) + raise Error::BadGateway.new(response) elsif response.code == 503 raise Error::ServiceUnavailable.new(response) elsif response.timed_out?