Skip to content

Commit 9d01fdc

Browse files
author
Kevin Antoine
authored
blockedUserError typo
1 parent c60068e commit 9d01fdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/intercom/request.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def raise_application_errors_on_failure(error_list_details, http_code)
144144
when "bad_request", "missing_parameter", 'parameter_invalid', 'parameter_not_found'
145145
raise Intercom::BadRequestError.new(error_details['message'], error_context)
146146
when "not_restorable"
147-
raise Intercom::BlockedUser.new(error_details['message'], error_context)
147+
raise Intercom::BlockedUserError.new(error_details['message'], error_context)
148148
when "not_found"
149149
raise Intercom::ResourceNotFound.new(error_details['message'], error_context)
150150
when "rate_limit_exceeded"

0 commit comments

Comments
 (0)