mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-22 20:46:03 +03:00
Fix typo in responseHandler
This commit is contained in:
parent
947267e935
commit
95cc29e56b
@ -88,9 +88,6 @@ class RestClient{
|
|||||||
elseif($httpResponeCode == 401){
|
elseif($httpResponeCode == 401){
|
||||||
throw new InvalidCredentials(EXCEPTION_INVALID_CREDENTIALS);
|
throw new InvalidCredentials(EXCEPTION_INVALID_CREDENTIALS);
|
||||||
}
|
}
|
||||||
elseif($httpResponeCode == 401){
|
|
||||||
throw new GenericHTTPError(EXCEPTION_INVALID_CREDENTIALS);
|
|
||||||
}
|
|
||||||
elseif($httpResponeCode == 404){
|
elseif($httpResponeCode == 404){
|
||||||
throw new MissingEndpoint(EXCEPTION_MISSING_ENDPOINT);
|
throw new MissingEndpoint(EXCEPTION_MISSING_ENDPOINT);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user