Skip to content

Commit

Permalink
fixed make_request method
Browse files Browse the repository at this point in the history
  • Loading branch information
7R41N33 committed Mar 25, 2022
1 parent 6c20fcb commit e060b9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ Style/ClassAndModuleChildren:
Description: 'Checks style of children classes and modules.'
Enabled: false

Style/OptionalBooleanParameter:
Enabled: false

Metrics/ClassLength:
Description: 'Avoid classes longer than 100 lines of code.'
Enabled: false
Expand Down
2 changes: 1 addition & 1 deletion lib/uffizzi/clients/api/api_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def fetch_projects(hostname)

def create_credential(hostname, params)
uri = credentials_uri(hostname)
response = Uffizzi::HttpClient.make_request(uri, :post, params)
response = Uffizzi::HttpClient.make_post_request(uri, params)

build_response(response)
end
Expand Down

0 comments on commit e060b9d

Please sign in to comment.