Skip to content

Commit 70bb0ea

Browse files
committed
Merge pull request #218 from intercom/BL/fix
allow api key to be nil (because of oauth tokens)
2 parents 0465e91 + 540670b commit 70bb0ea

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/intercom/client.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ def delete(path, payload_hash)
9696
def validate_credentials!
9797
error = MisconfiguredClientError.new("app_id and api_key must not be nil")
9898
fail error if @app_id.nil?
99-
fail error if @api_key.nil?
10099
end
101100

102101
def execute_request(request)

0 commit comments

Comments
 (0)