Skip to content

Commit

Permalink
fix(webhooks): make consumer_version_tags an array when creating meta…
Browse files Browse the repository at this point in the history
…data for latest [tagged] pact
  • Loading branch information
bethesque committed Feb 27, 2020
1 parent 50f1655 commit 59b9e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pact_broker/pacts/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module Metadata
def build_metadata_for_latest_pact(pact, selection_parameters)
if selection_parameters[:tag]
{
consumer_version_tags: selection_parameters[:tag],
consumer_version_tags: [selection_parameters[:tag]],
consumer_version_number: pact.consumer_version_number
}
else
Expand Down

0 comments on commit 59b9e4c

Please sign in to comment.