Skip to content

Commit

Permalink
Merge pull request #218 from intercom/BL/fix
Browse files Browse the repository at this point in the history
allow api key to be nil (because of oauth tokens)
  • Loading branch information
bobjflong committed Jan 18, 2016
2 parents 0465e91 + 540670b commit 70bb0ea
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/intercom/client.rb
Expand Up @@ -96,7 +96,6 @@ def delete(path, payload_hash)
def validate_credentials!
error = MisconfiguredClientError.new("app_id and api_key must not be nil")
fail error if @app_id.nil?
fail error if @api_key.nil?
end

def execute_request(request)
Expand Down

0 comments on commit 70bb0ea

Please sign in to comment.