Skip to content

Commit db96bdf

Browse files
Strechivoanjo
andcommitted
Update lib/datadog/open_feature/transport/http/exposures.rb
Co-authored-by: Ivo Anjo <[email protected]>
1 parent 6609310 commit db96bdf

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/datadog/open_feature/transport/http/exposures.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ def send_exposures(env, &block)
4040
# HTTP API Instance
4141
class Instance < Core::Transport::HTTP::API::Instance
4242
def send_exposures(env)
43-
unless spec.is_a?(Exposures::API::Spec)
44-
raise Core::Transport::HTTP::API::Instance::EndpointNotSupportedError.new(
45-
'exposures', self
46-
)
47-
end
48-
4943
spec.send_exposures(env) do |request_env|
5044
call(request_env)
5145
end

0 commit comments

Comments
 (0)