Skip to content

Commit

Permalink
fix: return a 404 when the base pact for a pact diff doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Nov 18, 2020
1 parent aa9696a commit 74d3644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pact_broker/api/resources/pact_content_diff.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def allowed_methods
end

def resource_exists?
consumer && provider
pact
end

def to_text
Expand Down

0 comments on commit 74d3644

Please sign in to comment.