Skip to content

Commit

Permalink
fix CIIntake after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed Oct 17, 2023
1 parent be77dbf commit 8dbbf5c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/datadog/ci/transport/api/ci_intake.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def request(path:, payload:, verb: "post")
http.request(
path: path,
payload: payload,
method: verb,
verb: verb,
headers: headers
)
end
Expand Down
2 changes: 1 addition & 1 deletion sig/datadog/ci/transport/api/ci_intake.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module Datadog

def initialize: (api_key: String, url: String) -> void

def request: (path: String, payload: String, ?verb: ::String) -> Datadog::CI::Transport::HTTP::Response
def request: (path: String, payload: String, ?verb: ::String) -> Datadog::CI::Transport::HTTP::ResponseDecorator

private

Expand Down
2 changes: 1 addition & 1 deletion spec/datadog/ci/transport/api/ci_intake_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
expect(http).to receive(:request).with(
path: "path",
payload: "payload",
method: "post",
verb: "post",
headers: {
"DD-API-KEY" => "api_key",
"Content-Type" => "application/msgpack"
Expand Down

0 comments on commit 8dbbf5c

Please sign in to comment.