Skip to content

Commit

Permalink
chore: load schema by name for publishing contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Oct 15, 2021
1 parent 0dd56c4 commit a7d6925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pact_broker/api/resources/publish_contracts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def params
end

def schema
PactBroker::Api::Contracts::PublishContractsSchema
api_contract_class(:publish_contracts_schema)
end

def decode_and_parse_content(contract)
Expand Down

0 comments on commit a7d6925

Please sign in to comment.