Skip to content

Commit

Permalink
chore: can't cache diagnostics response
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Aug 17, 2021
1 parent 6157c8c commit 98cad4a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/pact_broker/diagnostic/resources/heartbeat.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ module PactBroker
module Diagnostic
module Resources
class Heartbeat < BaseResource

def allowed_methods
["GET"]
end
Expand All @@ -14,7 +13,7 @@ def content_types_provided
end

def to_json
@@json ||= {
{
"ok" => true,
"_links" => {
"self" => {
Expand Down

0 comments on commit 98cad4a

Please sign in to comment.